
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap');

/* =======================
   GLOBAL
======================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI', Arial, sans-serif;
}

body{
  display:none;

  background:#eef2f7;

  padding-top:65px;
  padding-bottom:70px;
}


/* =======================
   TOP NAVBAR
======================= */

.top-navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:50px;

  background:#ffffff;
  color:#111;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 10px;

  box-shadow:
    0 4px 15px rgba(0,0,0,0.08);

  z-index:1000;

  margin:0;

  border-bottom:none;
}

.menu-icon{
  font-size: 80px;
  font-weight: 800;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 62px;
  height: 62px;

  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu-icon:hover{
  background: rgba(0,0,0,0.06);
  transform: scale(1.05);
}

.fa-solid.fa-bars{
  font-size:25px;
  color:#111;
  font-weight:800;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  transition:0.3s ease;
}

.fa-solid.fa-bars:hover{
  color:#0d6efd;
  transform:scale(1.08);
}
/* =======================
   NAV LEFT
======================= */
.nav-left{
  display:flex;
  align-items:center;
  gap:0px;
}

/* =======================
   LOGO IMAGE
======================= */
.navbar-logo{
  height:60px;
  width:auto;
  object-fit:contain;
}


#todayDate{
  font-size:13px;
  font-weight:bold;
}

.nav-right{
  display:flex;
  align-items:center;
}

.navbar p {
  font-size: 24px;
  font-weight: 700;
  color: #1e90ff;   /* 🔥 blue highlight */
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}


/* 🔗 NAV LINKS */
.nav-links a {
  font-size: 18px;
  margin: 0 12px;
}

.nav-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: 0.8;
}


/* =======================
   LOGIN BUTTON
======================= */

.login-btn{

  display:flex;
  align-items:center;
  justify-content:center;

  padding:10px 22px;

  border:none;
  border-radius:30px;

  background:linear-gradient(
    135deg,
    #0d6efd,
    #0056d6
  );

  color:#fff;

  font-size:15px;
  font-weight:700;

  cursor:pointer;

  box-shadow:
    0 4px 14px rgba(13,110,253,0.35);

  transition:0.3s ease;

  position:relative;

  overflow:hidden;
}

/* 🔥 SHINE BAR */

.login-btn::before{

  content:"";

  position:absolute;

  top:0;
  left:-120%;

  width:60%;
  height:100%;

  background:rgba(255,255,255,0.25);

  transform:skewX(-25deg);

  transition:0.6s;
}

/* HOVER */

.login-btn:hover{

  transform:translateY(-2px);

  box-shadow:
    0 8px 22px rgba(13,110,253,0.45);
}

/* 🔥 MOVING SHINE */

.login-btn:hover::before{

  left:140%;
}
.profile-icon{
  font-size:25px;
  color:#333;
  cursor:pointer;
  margin-right: 15px;
}
/* =======================
   HORIZONTAL SCROLL MENU
======================= */

.scroll-menu{
  width:100%;

  display:flex;
  gap:8px;

  overflow-x:auto;
  overflow-y:hidden;

  white-space:nowrap;

  padding:6px 8px 8px;

  margin:0;

  background:#ffffff;

  position:fixed;

  top:50px;
  left:0;

  z-index:1100;

  border-bottom:1px solid #e5e7eb;

  scrollbar-width:none;

  -webkit-overflow-scrolling:touch;
}

.scroll-menu::-webkit-scrollbar{
  display:none;
}


/* =======================
   BUTTON
======================= */

.scroll-btn{
  flex:none;

  border:none;

  padding:7px 14px;

  border-radius:20px;

  background:#f1f5f9;

  color:#111;

  font-size:15px;

  font-weight:900;

  cursor:pointer;

  transition:.3s;

  white-space:nowrap;

  outline:none;

  box-shadow:none;

  -webkit-tap-highlight-color:transparent;
}


/* REMOVE MOBILE HIGHLIGHT */

.scroll-btn:focus,
.scroll-btn:active{
  outline:none;

  box-shadow:none;
}


/* ACTIVE BUTTON */

.scroll-btn.active{
  background:#0d6efd;

  color:#fff;
}


/* HOVER ONLY DESKTOP */

@media (hover:hover){

  .scroll-btn:hover{
    background:#0d6efd;

    color:#fff;
  }

}
/* =======================
   DROPDOWN MENU
======================= */

.dropdown-menu{
  position:relative;
  display:inline-block;
  flex:none;
  overflow:visible;
}

/* DROPDOWN LIST */

.dropdown-list{
  display:none;

  position:fixed;

  min-width:220px;

  background:#fff;

  border-radius:12px;

  box-shadow:0 8px 25px rgba(0,0,0,0.18);

  z-index:99999;

  overflow:hidden;
}

/* SHOW */

.dropdown-list.show{
  display:block;
}

/* LINKS */

.dropdown-list a{
  display:block;

  padding:12px 15px;

  text-decoration:none;

  color:#222;

  font-size:14px;

  font-weight:600;

  border-bottom:1px solid #eee;

  background:#fff;
}

.dropdown-list a:last-child{
  border-bottom:none;
}

.dropdown-list a:hover{
  background:#f3f6ff;
  color:#1D70E6;
}

/* =======================
   PAGE HEADING
======================= */

.page-heading{
  position:sticky;
  top:60px;
  z-index:900;
  background:white;
  padding:12px 15px;
  font-size:22px;
  font-weight:700;
  color:#0d6efd;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}


/* =======================
   PAGE HEADER
======================= */

.page-header{
  position:relative;   /* 🔥 sticky removed */
  width:100%;
  background:#fff;
  padding:0;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  border-bottom:1px solid #f0f0f0;
  overflow:hidden;
  margin-bottom:0;
  display:flex;
  flex-direction:column;
  align-items:center;
}


/* =======================
   FULL WIDTH IMAGE
======================= */

.page-heading-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  margin-bottom:0;
  margin-top:25px;
  display:block;
}
/* =======================
   SIDE MENU
======================= */
.side-menu{
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100vh;
  background:white;
  box-shadow:2px 0 15px rgba(0,0,0,0.2);
  transition:0.3s;
  z-index:2000;

  display:flex;
  flex-direction:column;

  overflow-y:auto;
  overflow-x:hidden;

  padding-top:0;
  padding-bottom:20px;
}

/* ACTIVE */
.side-menu.active{
  left:0;
}

/* SCROLLBAR */
.side-menu::-webkit-scrollbar{
  width:5px;
}

.side-menu::-webkit-scrollbar-thumb{
  background:#cfcfcf;
  border-radius:10px;
}

/* CLOSE BUTTON */
.close-btn{
  position:absolute;
  top:10px;
  right:15px;
  font-size:5px;
  cursor:pointer;
}

/* HEADING */
.menu-heading{
  font-size:13px;
  font-weight:700;
  color:#666;
  margin:18px 15px 8px;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* MENU LINKS */
.menu-links a{
  display:flex;
  align-items:center;
  gap:10px;

  padding:14px 20px;
  border-bottom:1px solid #eee;

  color:#333;
  text-decoration:none;
  transition:0.2s;

  font-weight:700;
}

/* HOVER */
.menu-links a:hover{
  background:#0d6efd;
  color:white;
}

/* LOGOUT BUTTON */
.logout-btn{
  margin-top:auto;
  margin:20px;
  padding:12px;
  background:#dc3545;
  color:white;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
}

/* LOGIN BUTTON */
.side-login-btn{
  margin:10px 20px;
  padding:12px;

  background:linear-gradient(135deg,#0d6efd,#3a8bfd);
  color:white;

  border:none;
  border-radius:10px;

  font-weight:600;
  cursor:pointer;

  box-shadow:0 4px 10px rgba(13,110,253,0.3);
  transition:0.3s;
}

.side-login-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(13,110,253,0.4);
  background:#0b5ed7;
}

.admin-btn{
  margin:10px 20px;
  padding:10px;
  background:#20bf6b;
  color:white;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:0.2s;
}

.admin-btn:hover{
  background:#1faa5b;
}



/* =======================
   NEWS & MATERIAL SECTION
======================= */

#newsBox{
  width:100%;
  margin:0;
  padding:0;
}

/* =======================
   COMMON CARD STYLE
======================= */

.news-card,
.material-card{
  position:relative;
  overflow:hidden;
  background:#fff;
  padding:18px;
  margin:12px 0;
  border-radius:16px;
  box-shadow:0 4px 18px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

/* =======================
   WATERMARK
======================= */

.news-card::before,
.material-card::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:420px;
  height:420px;
  background:url("images/icon.png")
             no-repeat center;
  background-size:contain;
  opacity:0.07;
  pointer-events:none;
  z-index:0;
}

/* =======================
   CONTENT ABOVE WATERMARK
======================= */

.news-card *,
.material-card *{
  position:relative;
  z-index:1;
}

/* =======================
   HOVER EFFECT
======================= */

.news-card:hover,
.material-card:hover{
  transform:translateY(-3px);
}

/* =======================
   MAIN TITLE
======================= */

.news-card h3,
.material-card h2{
  font-size:28px;
  color:#1e3a8a;   /* Dark Royal Blue */
  font-family:'Cinzel', serif;
  text-align:center;
  margin-bottom:18px;
  font-weight:700;
  line-height:1.35;
}

/* =======================
   MAJOR HEADINGS
======================= */

.news-card .heading,
.material-card .heading{
  display:block;
  width:100%;
  margin-top:15px;
  margin-bottom:10px;
  font-size:24px;
  line-height:1.35;
  color:#1D70E6;
  text-align:left;
  font-weight:700;
  font-family:'Roboto', sans-serif;
  text-transform:uppercase;
  word-break:normal;
  overflow-wrap:break-word;
  white-space:normal;
  hyphens:none;
}

/* =======================
   MOBILE FIX
======================= */

@media(max-width:600px){

  .news-card .heading,
  .material-card .heading{

    font-size:20px;

    line-height:1.4;
  }

}

/* =======================
   SUBHEADINGS
======================= */

.subheading{
  display:block;
  margin-top:2px;
  margin-bottom:2px;
  margin-left: 2px;
  font-size:21px;
  line-height:1.25;
  color:#000;
  font-weight:700;
  font-family:'roboto', serif;
}

/* =======================
   NUMBER HEADINGS
======================= */

.number-heading{
  display:block;
  margin-top:4px;
  margin-bottom:4px;
  margin-left: 5px;
  font-size:20px;
  line-height:1.3;
  color:#000;
  font-weight:700;
  font-family:'Roboto', sans-serif;
}

/* =======================
   CONTENT
======================= */

.news-content,
.news-card p,
.material-content{
  font-size:20px;
  line-height:1.55;
  margin-bottom:0;
  font-family:'Roboto', sans-serif;
  color:#333;
}

/* =======================
   BULLETS
======================= */

.bullet{
  padding-left:14px;
  margin:0px 0px;
  margin-left: 5px;
  font-family:'Roboto', sans-serif;
  line-height:1.6;
}

/* =======================
   COMMON CARD STYLE
======================= */

.news-card,
.material-card{
  position:relative;
  overflow:hidden;

  background:#fff;
  padding:18px;
  margin:12px 0;

  border-radius:16px;

  box-shadow:0 4px 18px rgba(0,0,0,0.08);

  transition:0.3s ease;

  display:flex;
  flex-direction:column;
}


/* =======================
   META INFO
======================= */

.news-meta,
.material-info{
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid #e5e7eb;
  font-size:15px;
  font-weight:800;
  color:#666;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  line-height:1.5;
}
/* =======================
   NEWS STATUS BAR
======================= */

.news-status-bar{
  margin-top:6px;
  color:#333;
  font-size:20px;
  font-weight:800;
  text-align:center;
  background:transparent;
  border:none;
  box-shadow:none;
}




/* =======================
   READ MORE SYSTEM
======================= */

/* CONTENT */
.news-content,
.material-content{
  position:relative;

  font-size:20px;
  line-height:1.55;

  color:#333;

  max-height:220px;

  overflow:hidden;

  transition:max-height 0.4s ease;
}

/* FADE EFFECT */
.news-content::after,
.material-content::after{
  content:"";

  position:absolute;

  left:0;
  bottom:0;

  width:100%;
  height:70px;

  background:linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    #ffffff
  );

  pointer-events:none;
}

/* EXPANDED */
.news-content.expanded,
.material-content.expanded{
  max-height:10000px;
}

/* REMOVE FADE */
.news-content.expanded::after,
.material-content.expanded::after{
  display:none;
}

/* BUTTON */
.read-more-btn{
  display:inline-block;
  margin-top:12px;
  padding:9px 16px;
  border:none;
  border-radius:30px;
  background:linear-gradient(
    135deg,
    #0d6efd,
    #3a8bfd
  );
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s ease;
}

/* HOVER */
.read-more-btn:hover{
  transform:translateY(-2px);

  box-shadow:
    0 5px 15px rgba(13,110,253,0.25);
}


/* =======================
POPUPS
======================= */
.popup,
.pyq-popup,
.admin-popup,
.login-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
justify-content:center;
align-items:center;
z-index:3000;
}

.popup-box,
.pyq-box,
.admin-box,
.login-box{
background:white;
width:90%;
max-width:380px;
padding:25px;
border-radius:14px;
position:relative;
text-align:center;
animation:fadeIn 0.3s ease;
}

@keyframes fadeIn{
from{
transform:scale(0.9);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}

/* =======================
   INPUT
======================= */
input, select{
  width:100%;
  padding:11px;
  margin:8px 0;
  border:1px solid #ccc;
  border-radius:8px;
  font-size:14px;
}


/* =======================
   BUTTON
======================= */
.popup-box button,
.pyq-box button,
.login-box button,
.admin-box button{
  width:100%;
  padding:12px;
  margin-top:10px;
  background:linear-gradient(135deg,#0d6efd,#3a8bfd);
  color:white;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
  transition:0.2s;
}

.popup-box button:hover,
.pyq-box button:hover{
  transform:scale(1.03);
}


/* =======================
   LIST
======================= */
#topicList,
#subjectList{
  max-height:300px;
  overflow-y:auto;
  margin-top:10px;
}

#topicList div,
#subjectList div{
  padding:12px;
  background:white;
  margin:6px 0;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
  cursor:pointer;
  transition:0.2s;
}

#topicList div:hover,
#subjectList div:hover{
  background:#0d6efd;
  color:white;
}


/* =========================
   BOTTOM NAVBAR
========================= */

.bottom-navbar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:70px;
  background:#ffffff;
  display:flex;
  justify-content:space-around;
  align-items:center;
  box-shadow:0 -2px 12px rgba(0,0,0,0.08);
  z-index:1000;
}

.nav-btn{
  background:none;
  border:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#444444;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:0.2s ease;
}

.nav-btn i{
  font-size:20px;
}

.nav-btn:hover{
  color:#0077b6;
}

/* emoji icon */
.icon {
  font-size: 25px;
  margin-bottom: 4px;
}

/* =======================
   TEST QUICK BAR
======================= */

.test-quick-bar{
  position:fixed;
  bottom:75px;
  left:50%;

  transform:translateX(-50%) translateY(120px);

  width:100%;
  max-width:500px;

  background:#ffffff;

  padding:10px;

  border-radius:18px;

  display:flex;
  gap:10px;

  overflow-x:auto;

  box-shadow:0 8px 25px rgba(0,0,0,0.15);

  z-index:2500;

  transition:0.35s ease;

  opacity:0;

  pointer-events:none;

  scrollbar-width:none;

  -webkit-overflow-scrolling:touch;
}

.test-quick-bar::-webkit-scrollbar{
  display:none;
}


/* ACTIVE BAR */

.test-quick-bar.active{
  transform:translateX(-50%) translateY(0);

  opacity:1;

  pointer-events:auto;
}


/* BUTTON */

.test-quick-bar button{
  flex:none;

  border:none;

  padding:10px 16px;

  border-radius:30px;

  background:#f1f5f9;

  color:#111;

  font-size:17px;

  font-weight:700;

  cursor:pointer;

  white-space:nowrap;

  transition:0.25s;

  outline:none;

  box-shadow:none;

  -webkit-tap-highlight-color:transparent;
}


/* REMOVE MOBILE HIGHLIGHT */

.test-quick-bar button:focus,
.test-quick-bar button:active{
  outline:none;

  box-shadow:none;
}


/* SELECTED BUTTON */

.test-quick-bar button.active{
  background:#0d6efd;

  color:#fff;
}


/* HOVER ONLY DESKTOP */

@media (hover:hover){

  .test-quick-bar button:hover{
    background:#0d6efd;

    color:#fff;
  }

}




/* =======================
   OVERLAY
======================= */
#overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  opacity:0;
  visibility:hidden;
  transition:0.3s;
  z-index:1500;
}

#overlay.active{
  opacity:1;
  visibility:visible;
}


/* =======================
   FULL SCREEN WRAPPER
======================= */
.slider-wrapper {
  height: calc(100dvh - 110px);
  min-height: 400px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  padding: 12px;
}

/* =======================
   SLIDER TRACK
======================= */
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease-in-out;
}

/* =======================
   SLIDE CARD
======================= */
.slide {
  min-width: 100%;              /* 🔥 FIX: prevent shrinking */
  height: 100%;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 5px;
  font-size: clamp(30px, 5vw, 48px); 
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: red;
  font-weight: bold;
}


/* =======================
   TEXT (PERFECT SCALING)
======================= */
.slide p {
  max-width: min(90%, 650px);

  font-size: clamp(20px, 5vw, 48px); /* 🔥 FIXED */
  font-weight: 600;
  line-height: 1.6;

  color: #111;

  word-break: normal;
  white-space: normal;
}

/* =======================
   QUOTE ICONS
======================= */
.slide::before,
.slide::after {
  position: absolute;
  font-size: clamp(30px, 5vw, 50px);
  color: rgba(0, 0, 0, 0.08);
}

.slide::before {
  content: "❝";
  top: 12px;
  left: 15px;
}

.slide::after {
  content: "❞";
  bottom: 12px;
  right: 15px;
}




.popup-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
   z-index:1500;
  
}

.popup-content h3 {
  text-align: center;
}

.popup-content select {
  width: 100%;
  margin: 8px 0;
  padding: 8px;
}

.start-btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
}

.popup-close {
  float: right;
  cursor: pointer;
}




/* =======================
   📘 SYLLABUS POPUP (UPGRADE)
======================= */
#syllabusPopup {
  backdrop-filter: blur(6px);
}

#syllabusPopup .popup-content {
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-top: 5px solid #6f42c1; /* 🔥 purple highlight */
}

/* Title */
#syllabusPopup h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

/* Dropdown */
#syllabusPopup select {
  border: 2px solid #ddd;
  transition: 0.2s;
}

#syllabusPopup select:focus {
  border-color: #6f42c1;
  outline: none;
}

/* Button */
#syllabusPopup .start-btn {
  background: linear-gradient(135deg,#6f42c1,#9b59b6);
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

#syllabusPopup .start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(111,66,193,0.4);
}

/* Close button */
#syllabusPopup .popup-close {
  font-size: 20px;
  color: #555;
}

#syllabusPopup .popup-close:hover {
  color: red;
}




#subjectList, #topicList {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

#subjectList li, #topicList li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

#subjectList li:hover, #topicList li:hover {
  background: #f0f0f0;
}

#subjectSearchBox, #topicSearchBox {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}







/* =======================
   💳 PAYMENT POPUP FINAL
======================= */
.payment-popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

/* BOX */
.payment-box{
  background:#fff;
  padding:22px;
  border-radius:12px;
  text-align:left;
  width:85%;
  max-width:320px;
  font-size:15px;                 /* 🔥 increased */
  box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

/* TITLE */
.payment-title{
  text-align:center;
  margin-bottom:12px;
  font-size:18px;                 /* 🔥 bigger */
  font-weight:600;
}

/* HEADING */
.feature-heading{
  font-weight:600;
  margin-bottom:10px;
  font-size:20px;
}

/* LIST */
.feature-list{
  padding-left:18px;
  margin-bottom:18px;
}

.feature-list li{
  font-size:18px;
  margin-bottom:6px;
  color:#444;
}

/* BUTTON WRAP */
.payment-actions{
  display:flex;
  flex-direction:column;          /* 🔥 stack buttons */
  align-items:center;
}

/* PAY BUTTON */
.pay-btn{
  width:100%;                    /* 🔥 full width */
  padding:12px;
  background:linear-gradient(135deg,#28a745,#20c997);
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.pay-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 5px 15px rgba(40,167,69,0.4);
}

/* CANCEL */
.cancel-btn{
  margin-top:12px;
  background:none;
  border:none;
  color:#dc3545;
  font-size:14px;
  cursor:pointer;
}







/* =======================
   CURRENT AFFAIRS POPUP
======================= */

#editorialPopup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:3000;
  padding:15px;
}

/* BOX */
#editorialPopup .popup-content{
  width:100%;
  max-width:380px;
  background:#fff;
  border-radius:18px;
  padding:22px 18px;
  position:relative;
  animation:popupFade .25s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
}

/* TITLE */
#editorialPopup h3{
  text-align:center;
  margin-bottom:18px;
  font-size:22px;
  color:#111;
  font-weight:700;
}

/* LABEL */
#editorialPopup label{
  display:block;
  margin-bottom:6px;
  margin-top:12px;
  font-size:14px;
  font-weight:600;
  color:#333;
}

/* SELECT */
#editorialPopup select{
  width:100%;
  padding:11px 12px;
  border:1px solid #d0d7e2;
  border-radius:10px;
  outline:none;
  font-size:15px;
  background:#f9fbff;
  margin-bottom:4px;
  transition:0.2s;
}

#editorialPopup select:focus{
  border-color:#2563eb;
  background:#fff;
}

/* OPEN BUTTON */
#editorialPopup .start-btn{
  width:100%;
  margin-top:20px;
  padding:13px;
  border:none;
  border-radius:12px;
  background:#2563eb;
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:0.2s;
}

#editorialPopup .start-btn:hover{
  transform:translateY(-1px);
  background:#1d4ed8;
}

/* CLOSE BUTTON */
#editorialPopup .popup-close{
  position:absolute;
  top:12px;
  right:14px;
  font-size:20px;
  cursor:pointer;
  color:#555;
  transition:0.2s;
}

#editorialPopup .popup-close:hover{
  color:red;
}

/* DATE FIELD */
#editorialDateField{
  display:none;
}

/* ANIMATION */
@keyframes popupFade{

  from{
    opacity:0;
    transform:scale(0.9);
  }

  to{
    opacity:1;
    transform:scale(1);
  }

}



/* =======================
   POPUP LAYER FIX
======================= */

/* NORMAL POPUPS */
#examPopup,
#subjectPopup,
#topicPopup,
#materialPopup,
#editorialPopup{
  z-index:5000;
}

/* TEST BAR */
.test-quick-bar{
  z-index:2500;
}

/* LOGIN POPUP */
#loginPopup{
  z-index:99999;
}

/* LOGIN BOX */
#loginPopup .login-box{
  position:relative;
  z-index:100000;
}



#loader{
  position:fixed;
  inset:0;

  background:#ffffff;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:999999;
}

/* 🔥 CIRCLE SPINNER */

.spinner{

  width:55px;
  height:55px;

  border:5px solid #dbeafe;

  border-top:5px solid #0d6efd;

  border-radius:50%;

  animation:spin 0.8s linear infinite;
}

/* 🔄 ROTATE */

@keyframes spin{

  0%{
    transform:rotate(0deg);
  }

  100%{
    transform:rotate(360deg);
  }

}