*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#f7f8fc;
  color:#1e293b;
}

a{
  text-decoration:none;
}

.dashboard-wrapper{
  display:flex;
  min-height:100vh;
}

/* SIDEBAR */

.sidebar{
  width:290px;
  background:#ffffff;
  padding:25px;
  border-right:1px solid #eceef5;
  display:flex;
  flex-direction:column;
 justify-content:flex-start;
}

.sidebar-logo{
  text-align:center;
}

.sidebar-logo img{
  width:90px;
  height:90px;
  object-fit:contain;
}

.sidebar-logo h1{
  font-size:30px;
  font-weight:900;
  color:#0b2a5b;
  margin-top:10px;
  letter-spacing:1px;
}

.sidebar-logo h2{
  font-size:26px;
  font-weight:800;
  color:#2e9e44;
  margin-top:-3px;
}

.sidebar-logo p{
  font-size:13px;
  color:#64748b;
  margin-top:6px;
  font-weight:500;
}

/* MENU */

.sidebar-menu{
  margin-top:35px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sidebar-menu a{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border-radius:14px;
  color:#475569;
  font-size:15px;
  font-weight:600;
  transition:.3s;
}

.sidebar-menu a i{
  width:20px;
  font-size:17px;
}

.sidebar-menu a:hover{
  background:#f3f5ff;
}

.sidebar-menu a.active{
  background:#eef2ff;
  color:#5b5cf0;
}

.logout{
  color:#ef4444 !important;
}

/* STAY CONSISTENT */

.consistent-card{
  margin-top:30px;
  background:#eef2ff;
  border-radius:24px;
  padding:15px;
  text-align:center;
}

.consistent-card h3{
  font-size:18px;
  font-weight:800;
  color:#1e293b;
}

.consistent-card p{
  font-size:13px;
  color:#64748b;
  margin-top:8px;
  line-height:1.5;
}

/* STUDENT ILLUSTRATION */

.student-illustration{
  position:relative;
  width:160px;
  height:140px;
  margin:25px auto 0;
}

.student-head{
  width:38px;
  height:38px;
  background:#f8c9a4;
  border-radius:50%;
  position:absolute;
  top:10px;
  left:60px;
}

.student-body{
  width:70px;
  height:55px;
  background:#6d5efc;
  border-radius:18px;
  position:absolute;
  top:42px;
  left:45px;
}

.laptop{
  width:60px;
  height:35px;
  background:#ffffff;
  border-radius:8px;
  position:absolute;
  top:58px;
  left:82px;
  border:2px solid #dbe1ff;
}

.desk{
  width:130px;
  height:10px;
  background:#cbd5e1;
  position:absolute;
  bottom:18px;
  left:15px;
  border-radius:10px;
}

.mini-books{
  width:35px;
  height:25px;
  background:#f59e0b;
  position:absolute;
  bottom:25px;
  left:25px;
  border-radius:6px;
}

/* MAIN CONTENT */

.main-content{
  flex:1;
  padding:28px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.topbar h2{
  font-size:28px;
  font-weight:800;
  color:#1e293b;
}

.topbar p{
  color:#64748b;
  margin-top:6px;
  font-size:14px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:20px;
}

/* NOTIFICATION */

.notification{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#ffffff;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
  cursor:pointer;
}

.notification i{
  font-size:18px;
  color:#475569;
}

.notification span{
  position:absolute;
  top:8px;
  right:8px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* PROFILE */

.profile-box{
  background:#fff;
  padding:10px 15px;
  border-radius:16px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.profile-box img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}

.profile-box h4{
  font-size:15px;
  font-weight:700;
}

.profile-box i{
  color:#64748b;
}

/* GRID */

.content-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:25px;
}

.center-column{
  display:flex;
  flex-direction:column;
  gap:25px;
}

.right-column{
  display:flex;
  flex-direction:column;
  gap:25px;
}

/* DASHBOARD CARD */

.dashboard-card{
  background:#ffffff;
  border-radius:24px;
  padding:25px;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
}

/* TITLES */

.section-title{
  display:flex;
  align-items:center;
  gap:12px;
}

.section-title h3{
  font-size:20px;
  font-weight:800;
}

.title-icon{
  font-size:22px;
}

.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.section-header a{
  color:#6366f1;
  font-size:14px;
  font-weight:600;
}

/* SMALL ICONS */

.small-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.purple-bg{
  background:#6d5efc;
}

.green-bg{
  background:#22c55e;
}

.orange-bg{
  background:#f59e0b;
}

.navy-bg{
  background:#0b2a5b;
}

/* STUDY RESOURCE */

.resource-grid{
  margin-top:25px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.resource-card{
  border-radius:22px;
  padding:22px;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.resource-card.purple{
  background:#6d5efc;
}

.resource-card.green{
  background:#22c55e;
}

.resource-card.orange{
  background:#f59e0b;
}

.resource-icon{
  width:55px;
  height:55px;
  border-radius:16px;
  background:rgba(255,255,255,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  margin-bottom:18px;
}

.resource-card h4{
  font-size:18px;
  font-weight:800;
  margin-bottom:8px;
}

.resource-card p{
  font-size:13px;
  line-height:1.6;
  opacity:.95;
}

.arrow{
  position:absolute;
  right:18px;
  bottom:18px;
  font-size:18px;
}

/* UPCOMING TEST */

.test-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.test-row{
  display:grid;
  grid-template-columns:60px 1.5fr 1fr 1fr auto;
  align-items:center;
  gap:15px;
  padding:18px;
  border:1px solid #eef1f6;
  border-radius:18px;
}

.test-icon{
  width:50px;
  height:50px;
  border-radius:14px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.test-info h4{
  font-size:16px;
  font-weight:800;
  color:#1e293b;
}

.test-info p{
  margin-top:4px;
  font-size:13px;
  color:#64748b;
}

.test-date,
.test-time{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#64748b;
}

.test-row button{
  border:none;
  background:#6d5efc;
  color:#fff;
  padding:10px 18px;
  border-radius:12px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.test-row button:hover{
  background:#5848f0;
}

/* CURRENT AFFAIRS */

.current-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.current-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  border:1px solid #eef1f6;
  border-radius:18px;
}

.current-icon{
  width:50px;
  height:50px;
  border-radius:14px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.current-row h4{
  font-size:15px;
  font-weight:800;
  color:#1e293b;
}

.current-row p{
  margin-top:4px;
  font-size:13px;
  color:#64748b;
}

.new-badge{
  margin-left:auto;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:5px 10px;
  border-radius:20px;
}

.download-btn{
  width:42px;
  height:42px;
  border:none;
  border-radius:12px;
  background:#f3f4f6;
  color:#475569;
  cursor:pointer;
  margin-left:auto;
}

.download-btn:hover{
  background:#e5e7eb;
}

.books-icon{
  font-size:24px;
}

/* PERFORMANCE CARD */

.performance-card h3{
  font-size:20px;
  font-weight:800;
}

.circle-progress{
  width:190px;
  height:190px;
  margin:25px auto;
  border-radius:50%;
  background:conic-gradient(#6d5efc 0 78%, #eef2ff 78% 100%);
  display:flex;
  align-items:center;
  justify-content:center;
}

.circle-inner{
  width:145px;
  height:145px;
  background:#fff;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.circle-inner h2{
  font-size:34px;
  font-weight:900;
  color:#1e293b;
}

.circle-inner span{
  font-size:18px;
}

.circle-inner p{
  font-size:13px;
  color:#64748b;
  margin-top:4px;
}

.score-card{
  display:flex;
  align-items:center;
  gap:15px;
  padding:16px;
  border-radius:18px;
  margin-top:15px;
}

.purple-soft{
  background:#f3f1ff;
}

.green-soft{
  background:#ecfdf3;
}

.orange-soft{
  background:#fff7ed;
}

.score-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.score-card p{
  font-size:13px;
  color:#64748b;
}

.score-card h3{
  font-size:20px;
  margin-top:4px;
  color:#1e293b;
}

/* LATEST RESULT */

.latest-card h3{
  font-size:20px;
  font-weight:800;
  margin-bottom:18px;
}

.result-box{
  background:#f8fafc;
  border-radius:20px;
  padding:20px;
}

.result-box h4{
  font-size:16px;
  font-weight:800;
  color:#1e293b;
}

.result-box p{
  margin-top:6px;
  color:#64748b;
  font-size:13px;
}

.result-score{
  margin-top:18px;
}

.result-score h2{
  font-size:32px;
  color:#6d5efc;
  font-weight:900;
}

.result-score span{
  font-size:16px;
}

.result-btn{
  width:100%;
  border:none;
  margin-top:18px;
  padding:14px;
  border-radius:14px;
  background:#6d5efc;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.result-btn:hover{
  background:#5848f0;
}

/* RESPONSIVE */

@media(max-width:1200px){

  .content-grid{
    grid-template-columns:1fr;
  }

  .right-column{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
}

@media(max-width:900px){

  .dashboard-wrapper{
    flex-direction:column;
  }

  .sidebar{
    width:100%;
    border-right:none;
    border-bottom:1px solid #eceef5;
  }

  .resource-grid{
    grid-template-columns:1fr;
  }

  .test-row{
    grid-template-columns:1fr;
    text-align:center;
  }

  .current-row{
    flex-direction:column;
    text-align:center;
  }

  .topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .right-column{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){

  .main-content{
    padding:15px;
  }

  .topbar h2{
    font-size:22px;
  }

  .dashboard-card{
    padding:18px;
  }

  .circle-progress{
    width:150px;
    height:150px;
  }

  .circle-inner{
    width:115px;
    height:115px;
  }

  .circle-inner h2{
    font-size:28px;
  }

  .profile-box h4{
    display:none;
  }
}

/* FINAL DASHBOARD FIX - MATCH APPROVED IMAGE */

body{
  background:#ffffff;
}

.sidebar{
  width:320px;
  padding:28px 22px;
}

.sidebar-logo img{
  width:115px;
  height:115px;
}

.sidebar-logo h1{
  font-size:38px;
  color:#0B2A5B;
  margin-top:6px;
}

.sidebar-logo h2{
  font-size:32px;
  color:#2E9E44;
}

.sidebar-logo p{
  color:#0B2A5B;
  font-size:14px;
  font-weight:600;
}

.sidebar-menu a.active{
  background:#0B2A5B;
  color:#fff;
}

.sidebar-menu a{
  font-size:17px;
  font-weight:700;
  padding:16px 20px;
}

.main-content{
  background:#fafbff;
}

.dashboard-card{
  border:1px solid #edf0f6;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
  border-radius:16px;
}

.resource-card{
  background:#fff !important;
  color:#07152e !important;
  border:1px solid #edf0f6;
  box-shadow:0 6px 18px rgba(15,23,42,.04);
}

.resource-card p{
  color:#111827;
}

.resource-card.purple .resource-icon{
  background:#f0eaff;
  color:#5b21d9;
}

.resource-card.green .resource-icon{
  background:#e7f8ec;
  color:#15803d;
}

.resource-card.orange .resource-icon{
  background:#fff3e2;
  color:#f97316;
}

.resource-card.purple .arrow{
  color:#5b21d9;
}

.resource-card.green .arrow{
  color:#15803d;
}

.resource-card.orange .arrow{
  color:#f97316;
}

.test-row button{
  background:#fff;
  color:#0B2A5B;
  border:1.5px solid #0B2A5B;
}

.test-row button:hover{
  background:#0B2A5B;
  color:#fff;
}

.circle-progress{
  background:conic-gradient(#0B2A5B 0 78%, #dbe7ff 78% 100%);
}

.result-score h2{
  color:#15803d;
}

.result-btn{
  background:#fff;
  color:#0B2A5B;
  border:1.5px solid #0B2A5B;
}

.result-btn:hover{
  background:#0B2A5B;
  color:#fff;
}

.consistent-card{
  background:#0B2A5B;
  color:#fff;
}

.consistent-card h3,
.consistent-card p{
  color:#fff;
}

/* FINAL SIZE FIX */

.sidebar{
  width:250px;
  padding:22px 20px;
}

.sidebar-logo{
  margin-bottom:15px;
}

.logo-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.logo-row img{
  width:50px;
  height:50px;
  object-fit:contain;
}

.logo-text h1{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:#0B2A5B;
  line-height:1;
}

.logo-text h2{
  margin:0;
  font-size:18px;
  font-weight:900;
  color:#1E9C45;
  line-height:1;
}

.logo-tagline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:8px;
}

.logo-tagline span{
  width:20px;
  height:2px;
  background:#1E9C45;
}

.logo-tagline p{
  margin:0;
  font-size:10px;
  font-weight:600;
  color:#1F2937;
}

.sidebar-menu{
  margin-top:10px;
}

.sidebar-menu a{
  padding:12px 16px;
  font-size:15px;
}

.main-content{
  padding:18px 12px;
}
.topbar{
  margin-bottom:22px;
}

.topbar h2{
  font-size:22px;
}

.dashboard-card{
  padding:18px;
}

.resource-grid{
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.resource-card{
  min-height:130px;
  padding:14px;
}

.resource-icon{
  width:54px;
  height:54px;
  margin-bottom:14px;
}

.resource-card h4{
  font-size:17px;
  line-height:1.25;
}

.resource-card p{
  font-size:13px;
}

.circle-progress{
  width:140px;
  height:140px;
}

.circle-inner{
  width:100px;
  height:100px;
}

.profile-box img{
  width:48px;
  height:48px;
}

.profile-box{
  position:relative;
  cursor:pointer;
}

.profile-dropdown{
  position:absolute;
  top:65px;
  right:0;
  width:190px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
  padding:10px;
  display:none;
  z-index:100;
}

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

.profile-dropdown a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  color:#1e293b;
  font-size:14px;
  font-weight:700;
  border-radius:10px;
}

.profile-dropdown a:hover{
  background:#f3f6fb;
}

.profile-dropdown a:last-child{
  color:#ef4444;
}

.profile-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.profile-modal.show{
  display:flex;
}

.profile-modal-box{
  width:460px;
  max-width:90%;
  background:#fff;
  border-radius:16px;
  padding:18px 28px;
}

.modal-close{
  position:absolute;
  right:22px;
  top:18px;
  border:none;
  background:none;
  font-size:22px;
  color:#64748b;
  cursor:pointer;
}

.profile-modal-box h2{
  font-weight:800;
  font-size:20px;
  margin-bottom:12px;
  color:#0f172a;
}

.modal-profile-img{
  width:80px;
  height:80px;
  margin:0 auto 10px auto;
  display:block;
  border-radius:50%;
}

.profile-info{
  display:flex;
  flex-direction:column;
}

.profile-info div{
  display:grid;
  grid-template-columns:35px 1fr 1fr;
  align-items:center;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
}

.profile-info i{
  color:#0B2A5B;
}

.profile-info span{
  color:#475569;
  font-weight:600;
}

.profile-info span,
.profile-info strong{
  font-size:14px;
}

.profile-info strong{
  color:#0f172a;
  font-weight:700;
}

.active-status{
  background:#dcfce7;
  color:#15803d !important;
  padding:6px 14px;
  border-radius:8px;
  width:max-content;
}

.close-btn{
  margin:15px auto 0 auto;
  width:160px;
  height:42px;
  display:block;
  border:none;
  border-radius:8px;
  background:#0B2A5B;
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.profile-modal{
  overflow-y:auto;
  padding:20px;
}

.image-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  z-index:99999;
  justify-content:center;
  align-items:center;
}

.image-modal.show{
  display:flex;
}

.large-profile-image{
  width:350px;
  height:350px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #fff;
}

.image-close{
  position:absolute;
  top:20px;
  right:30px;
  color:#fff;
  font-size:40px;
  cursor:pointer;
}

.edit-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.edit-modal.show{
  display:flex;
}

.edit-modal-box{
  width:460px;
  max-width:90%;
  background:#fff;
  border-radius:16px;
  padding:22px 30px;
  position:relative;
  text-align:center;
  box-shadow:0 25px 70px rgba(0,0,0,.25);
}

.edit-modal-box h2{
  font-size:22px;
  font-weight:800;
  margin-bottom:15px;
}

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

.edit-form input,
.edit-form select{
  height:44px;
  border:1px solid #dbe3ef;
  border-radius:10px;
  padding:0 14px;
  font-size:14px;
  outline:none;
}

.edit-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.edit-actions button{
  flex:1;
  height:42px;
  border:none;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}

#saveEditBtn{
  background:#0B2A5B;
  color:#fff;
}

#cancelEditBtn{
  background:#e5e7eb;
  color:#111827;
}

.upload-photo-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 auto 15px;
  padding:9px 16px;
  border-radius:8px;
  background:#eef2ff;
  color:#0B2A5B;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.upload-photo-btn:hover{
  background:#dbe7ff;
}

.error-msg{
  display:block;
  text-align:left;
  color:#dc2626;
  font-size:12px;
  font-weight:600;
  margin-top:-8px;
  margin-bottom:2px;
  min-height:14px;
}

.edit-form input.error{
  border-color:#dc2626;
  background:#fff5f5;
}

.upload-photo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0 auto 14px;
  padding:8px 15px;
  border-radius:8px;
  background:#eef2ff;
  color:#0B2A5B;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.edit-field small{
  display:block;
  text-align:left;
  color:#dc2626;
  font-size:12px;
  margin-top:4px;
  min-height:14px;
}

.edit-form input.error{
  border-color:#dc2626;
  background:#fff7f7;
}

.edit-form input.success{
  border-color:#16a34a;
}

/* EDIT PROFILE DESIGN FIX */

.edit-modal-box{
  width:430px;
  padding:20px 28px;
}

.edit-form{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.edit-field{
  width:100%;
  max-width:320px;
}

.edit-form input,
.edit-form select{
  width:100%;
  height:44px;
}

.edit-field small{
  text-align:left;
  margin-left:0;
}

.edit-actions{
  width:100%;
  max-width:400px;
  margin:18px auto 0;
}

.photo-success-msg{
  display:block;
  color:#16a34a;
  font-size:13px;
  font-weight:600;
  margin-top:8px;
  text-align:center;
}

/* EDIT PROFILE COMPACT FIX */

.edit-modal-box{
  width:420px;
  padding:14px 26px;
}

.edit-modal-box h2{
  font-size:20px;
  margin-bottom:8px;
}

.edit-modal-box .modal-profile-img{
  width:68px;
  height:68px;
  margin-bottom:6px;
}

.upload-photo-btn{
  margin:0 auto 8px;
  padding:7px 14px;
  font-size:13px;
}

.edit-form{
  gap:6px;
}

.edit-field{
  max-width:320px;
}

.edit-form input,
.edit-form select{
  height:40px;
  font-size:13px;
}

.edit-field small{
  min-height:12px;
  font-size:11px;
  margin-top:2px;
}

.edit-actions{
  margin-top:10px;
}

.edit-actions button{
  height:40px;
}

/* DASHBOARD ALIGNMENT CLEANUP */

.dashboard-wrapper{
  align-items:stretch;
}

.sidebar{
  min-height:100vh;
  position:sticky;
  top:0;
}

.main-content{
  width:100%;
  min-width:0;
}

.topbar{
  min-height:70px;
}

.content-grid{
  align-items:start;
}

.dashboard-card{
  width:100%;
}

.resource-card{
  min-height:170px;
}

.test-row{
  grid-template-columns:55px 1.6fr 1fr 1fr 110px;
}

.test-row button{
  width:100%;
  white-space:nowrap;
}

.current-row > div:nth-child(2){
  flex:1;
}

.download-btn{
  margin-left:0;
}

.performance-card{
  text-align:left;
}

.profile-box{
  min-width:190px;
  justify-content:space-between;
}

.consistent-card{
  margin-top:20px;
}

/* TEST RESULTS PAGE */
.need-help-card{margin-top:auto;padding:18px;border-radius:10px;text-align:center;background:#fff;color:#0f172a;border:1px solid #edf0f6}.need-help-card h3{color:#0f172a;font-size:16px}.need-help-card p{color:#64748b;font-size:13px}.need-help-card button{margin-top:12px;width:135px;height:38px;border:none;border-radius:7px;background:#0057ff;color:#fff;font-weight:800;cursor:pointer}.test-results-page{width:100%}.result-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:20px}.result-summary-card{background:#fff;border:1px solid #edf0f6;border-radius:12px;box-shadow:0 8px 22px rgba(15,23,42,.05);padding:22px;display:flex;align-items:center;gap:18px;min-height:118px}.summary-icon{width:58px;height:58px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:26px}.summary-icon.blue{background:#eaf2ff;color:#0057ff}.summary-icon.green{background:#dcfce7;color:#16a34a}.summary-icon.orange{background:#fff4db;color:#d89000}.summary-icon.purple{background:#f3e8ff;color:#7c3aed}.result-summary-card p{font-size:14px;color:#334155;font-weight:700;margin-bottom:6px}.result-summary-card h3{font-size:31px;font-weight:900;color:#07152e;line-height:1;margin-bottom:8px}.result-summary-card span{font-size:13px;color:#64748b;font-weight:600}.results-main-grid{display:grid;grid-template-columns:2.7fr .9fr;gap:18px;align-items:start;margin-bottom:20px}.results-card,.performance-overview-card,.test-type-summary-card{background:#fff;border:1px solid #edf0f6;border-radius:12px;box-shadow:0 8px 22px rgba(15,23,42,.05)}.results-card{padding:18px}.results-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.results-card-header h3,.performance-overview-card h3,.test-type-summary-card h3{font-size:18px;font-weight:900;color:#0f172a}.result-filters{display:flex;gap:14px}.result-filters select{width:135px;height:38px;border:1px solid #dbe3ef;border-radius:7px;background:#fff;color:#0f172a;font-size:13px;font-weight:700;padding:0 12px;outline:none}.result-table-head{height:44px;background:#fbfcff;border-top:1px solid #e5eaf2;border-bottom:1px solid #e5eaf2;display:grid;grid-template-columns:2.15fr 1fr .8fr .9fr .85fr 1.15fr;align-items:center;padding:0 12px;color:#334155;font-size:12px;font-weight:900}.result-row{display:grid;grid-template-columns:2.15fr 1fr .8fr .9fr .85fr 1.15fr;align-items:center;padding:14px 12px;border-bottom:1px solid #e5eaf2;gap:8px}.result-row:last-child{border-bottom:none}.test-name-cell{display:flex;align-items:center;gap:12px}.result-icon{width:39px;height:39px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}.result-icon.purple{background:#f3e8ff;color:#7c3aed}.result-icon.blue,.result-icon.light-blue{background:#eaf2ff;color:#0057ff}.result-icon.orange{background:#fff7ed;color:#f97316}.result-icon.green{background:#ecfdf3;color:#16a34a}.test-name-cell h4{font-size:14px;font-weight:900;color:#0f172a;margin-bottom:5px}.test-name-cell p,.date-cell span,.score-cell span{font-size:12px;color:#64748b;font-weight:600}.type-pill{width:max-content;padding:5px 10px;border-radius:6px;font-size:12px;font-weight:800}.type-pill.purple{background:#f3e8ff;color:#7c3aed}.type-pill.blue{background:#eaf2ff;color:#0057ff}.type-pill.orange{background:#fff7ed;color:#ea580c}.type-pill.green{background:#dcfce7;color:#15803d}.date-cell,.score-cell{color:#1e293b;font-size:13px;font-weight:700;line-height:1.45}.score-cell{font-weight:900}.accuracy-cell strong{font-size:14px;color:#0f172a;font-weight:900;display:block;margin-bottom:8px}.accuracy-track{width:80px;height:5px;background:#e5e7eb;border-radius:20px;overflow:hidden}.accuracy-track span{display:block;height:100%;background:#16a34a;border-radius:20px}.status-pill{width:max-content;padding:6px 11px;border-radius:6px;background:#dcfce7;color:#15803d;font-size:12px;font-weight:800}.view-analysis-btn{width:120px;height:36px;border:1.5px solid #0057ff;background:#fff;color:#0057ff;border-radius:6px;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.view-analysis-btn:hover{background:#0057ff;color:#fff}.pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px}.pagination button{width:31px;height:31px;border:1px solid #dbe3ef;background:#fff;border-radius:6px;color:#0f172a;font-weight:800;cursor:pointer}.pagination button.active{background:#0057ff;color:#fff;border-color:#0057ff}.performance-overview-card{padding:18px}.performance-overview-card>p,.test-type-summary-card>p{font-size:13px;color:#64748b;font-weight:600;margin-top:8px;margin-bottom:18px}.overview-list{display:flex;flex-direction:column}.overview-item{display:grid;grid-template-columns:44px 1fr 100px;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e5eaf2}.overview-item.overall{border-top:1px dashed #dbe3ef;margin-top:2px}.overview-icon{width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:16px}.overview-icon.green{background:#dcfce7;color:#16a34a}.overview-icon.blue{background:#eaf2ff;color:#0057ff}.overview-icon.orange{background:#fff7ed;color:#f97316}.overview-icon.purple{background:#f3e8ff;color:#7c3aed}.overview-icon.navy{background:#e5edf8;color:#0B2A5B}.overview-text h4{font-size:13px;font-weight:900;color:#0f172a;margin-bottom:4px}.overview-text p{color:#64748b;font-size:12px;font-weight:600}.overview-progress{text-align:right}.overview-progress strong{font-size:16px;color:#0f172a;font-weight:900;display:block;margin-bottom:8px}.overview-progress div{height:5px;width:92px;background:#e5e7eb;border-radius:20px;overflow:hidden}.overview-progress span{display:block;height:100%;border-radius:20px}.overview-progress span.green{background:#16a34a}.overview-progress span.blue{background:#2563eb}.overview-progress span.orange{background:#f97316}.overview-progress span.purple{background:#7c3aed}.overview-progress span.navy{background:#0B2A5B}.motivation-box{margin-top:18px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:14px;display:flex;gap:14px;align-items:center}.motivation-box i{color:#0057ff;font-size:26px}.motivation-box h4{color:#0057ff;font-size:14px;font-weight:900;margin-bottom:5px}.motivation-box p{color:#475569;font-size:13px;line-height:1.4}.test-type-summary-card{padding:18px}.summary-type-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.summary-type-card{border:1px solid #edf0f6;border-radius:10px;padding:14px;display:flex;align-items:center;gap:14px;background:#fff}.type-icon{width:44px;height:44px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0}.type-icon.purple{background:#f3e8ff;color:#7c3aed}.type-icon.blue{background:#eaf2ff;color:#0057ff}.type-icon.orange{background:#fff7ed;color:#f97316}.type-icon.cyan{background:#cffafe;color:#0891b2}.summary-type-card h4{font-size:13px;font-weight:900;color:#0f172a;margin-bottom:7px}.summary-type-card strong{font-size:18px;font-weight:900;color:#0f172a}.summary-type-card strong span{font-size:13px;font-weight:800}.summary-type-card p{font-size:11px;color:#64748b;font-weight:700;margin-top:6px}@media(max-width:1250px){.result-summary-grid{grid-template-columns:repeat(2,1fr)}.results-main-grid{grid-template-columns:1fr}.summary-type-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.result-table-head{display:none}.result-row{grid-template-columns:1fr;gap:12px;align-items:flex-start}.result-filters{width:100%;flex-direction:column}.result-filters select{width:100%}.results-card-header{flex-direction:column;align-items:flex-start}.overview-item{grid-template-columns:44px 1fr}.overview-progress{grid-column:2;text-align:left}}@media(max-width:600px){.result-summary-grid,.summary-type-grid{grid-template-columns:1fr}.result-summary-card{min-height:auto}.view-analysis-btn{width:150px}}


/* TEST RESULTS TABLE FINAL CLEAN FIX */

.results-main-grid{
  grid-template-columns:2.7fr .9fr;
}

.result-table-head,
.result-row{
  grid-template-columns:2.15fr 1fr .8fr .9fr .85fr 1.15fr;
}

.test-name-cell{
  align-items:center;
}

.test-name-cell h4{
  font-size:14px;
  line-height:1.35;
}

.test-name-cell p{
  line-height:1.25;
}

.type-pill,
.status-pill{
  white-space:nowrap;
}

.view-analysis-btn{
  width:125px;
  white-space:nowrap;
}

@media(max-width:1250px){
  .results-main-grid{
    grid-template-columns:1fr;
  }
}
