body{
  margin:0;
  font-family: Georgia, serif;
  background:#f4f6f8;
  color:#222;
}

a{
  text-decoration:none;
}

.bcs-container{
  max-width:1100px;
  margin:0 auto;
  padding:24px 18px 50px;
}

.bcs-header{
  margin-bottom:22px;
}

.breadcrumb{
  font-size:14px;
  margin-bottom:10px;
  color:#666;
}

.breadcrumb a{
  color:#0d47a1;
}

.bcs-header h1{
  margin:0 0 10px;
  font-size:32px;
  color:#0d47a1;
  line-height:1.2;
}

.subtitle{
  margin:0;
  font-size:16px;
  color:#555;
  line-height:1.7;
}

.top-actions{
  margin:22px 0 26px;
}

.login-btn{
  display:inline-block;
  background:#0d47a1;
  color:#fff;
  padding:12px 22px;
  border-radius:12px;
  font-size:15px;
  font-weight:bold;
  box-shadow:0 6px 14px rgba(13,71,161,0.18);
}

.main-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:10px;
}

.main-card{
  display:block;
  background:#fff;
  border-radius:18px;
  padding:22px 18px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition:0.25s ease;
  border:1px solid #e8edf2;
}

.main-card:hover{
  transform:translateY(-4px);
}

.card-icon{
  display:block;
  font-size:30px;
  margin-bottom:12px;
}

.card-title{
  display:block;
  font-size:21px;
  font-weight:bold;
  margin-bottom:8px;
  color:#1a1a1a;
}

.card-text{
  display:block;
  font-size:14px;
  color:#666;
  line-height:1.6;
}

.question-bank-card{
  border-top:6px solid #2e7d32;
}

.notes-card{
  border-top:6px solid #ef6c00;
}

.articles-card{
  border-top:6px solid #6a1b9a;
}

.info-box{
  margin-top:28px;
  background:#ffffff;
  border-left:5px solid #0d47a1;
  padding:18px 16px;
  border-radius:14px;
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
}

.info-box h3{
  margin:0 0 10px;
  font-size:18px;
}

.info-box p{
  margin:0;
  color:#555;
  line-height:1.7;
}

.section-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:24px;
}

.list-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  background:#ffffff;
  padding:18px;
  border-radius:16px;
  box-shadow:0 6px 16px rgba(0,0,0,0.07);
  border:1px solid #e8edf2;
  transition:0.22s ease;
}

.list-card:hover{
  transform:translateY(-3px);
}

.list-card-left{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:0;
}

.list-icon{
  font-size:24px;
  line-height:1;
  margin-top:3px;
}

.list-content{
  min-width:0;
}

.list-title{
  display:block;
  font-size:18px;
  font-weight:bold;
  color:#1a1a1a;
  margin-bottom:5px;
  line-height:1.4;
}

.list-subtitle{
  display:block;
  font-size:14px;
  color:#666;
  line-height:1.6;
}

.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:bold;
  white-space:nowrap;
}

.free-badge{
  background:#e8f5e9;
  color:#2e7d32;
}

.premium-badge{
  background:#fff3e0;
  color:#ef6c00;
}

.topic-badge{
  background:#e3f2fd;
  color:#0d47a1;
}

.back-wrap{
  margin-top:24px;
}

.back-btn{
  display:inline-block;
  background:#eef2f6;
  color:#333;
  padding:10px 16px;
  border-radius:10px;
  font-size:14px;
  font-weight:bold;
}

.page-box{
  background:#fff;
  border-radius:16px;
  padding:18px;
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
  border:1px solid #e8edf2;
}

.empty-note{
  color:#777;
  line-height:1.7;
}

@media (max-width:700px){
  .bcs-header h1{
    font-size:27px;
  }

  .card-title{
    font-size:19px;
  }

  .list-card{
    flex-direction:column;
    align-items:flex-start;
  }

  .badge{
    margin-top:8px;
  }

  .login-btn{
    width:100%;
    text-align:center;
    box-sizing:border-box;
  }
}
.login-box {
  max-width: 520px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-label {
  font-size: 15px;
  font-weight: bold;
  color: #222;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d7dde4;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.form-input:focus {
  border-color: #0d47a1;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.08);
}

.login-submit-btn {
  margin-top: 8px;
  border: none;
  background: #0d47a1;
  color: #fff;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.message-box {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.error-box {
  display: block;
  background: #ffebee;
  color: #b71c1c;
}

.success-box {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
}

.login-status-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e8edf2;
}

.login-status-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.logout-btn {
  border: none;
  background: #ef6c00;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
.premium-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 99999;
}

.premium-popup-box {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  text-align: center;
}

.premium-popup-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #0d47a1;
}

.premium-popup-box p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.premium-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.popup-btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.popup-login-btn {
  background: #0d47a1;
  color: #fff;
}

.popup-whatsapp-btn {
  background: #2e7d32;
  color: #fff;
}

.popup-close-btn {
  background: #eef2f6;
  color: #333;
}
