/* ========================= */
/* GLOBAL */
/* ========================= */

*{

  margin:0;

  padding:0;

  box-sizing:border-box;

}


html{

  scroll-behavior:smooth;

}


body{

  font-family:Arial,sans-serif;

  background:#f4f7fb;

  color:#111827;

  line-height:1.6;

}


/* ========================= */
/* DASHBOARD LAYOUT */
/* ========================= */

.dashboard-layout{

  display:flex;

  min-height:100vh;

}


/* ========================= */
/* SIDEBAR */
/* ========================= */

.sidebar{

  width:260px;

  background:#0f172a;

  color:white;

  padding:30px 20px;

  position:sticky;

  top:0;

  height:100vh;

  overflow-y:auto;

}


.sidebar h2{

  text-align:center;

  margin-bottom:35px;

  font-size:30px;

}


.menu-item{

  display:block;

  padding:16px 18px;

  margin-bottom:12px;

  border-radius:12px;

  text-decoration:none;

  color:white;

  font-size:17px;

  transition:0.3s;

}


.menu-item:hover{

  background:#1e293b;

}


.menu-item.active{

  background:#2563eb;

}


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

.dashboard-main{

  flex:1;

}


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

.header{

  background:#0f172a;

  color:white;

  padding:35px 20px;

  box-shadow:
    0 2px 10px rgba(0,0,0,0.08);

}


.header h1{

  font-size:42px;

  margin-bottom:10px;

}


.header p{

  font-size:18px;

  opacity:0.9;

}


/* ========================= */
/* TOPBAR */
/* ========================= */

.topbar{

  width:92%;

  max-width:1400px;

  margin:auto;

  display:flex;

  justify-content:space-between;

  align-items:center;

  gap:20px;

}


/* ========================= */
/* CONTAINER */
/* ========================= */

.container{

  width:92%;

  max-width:1400px;

  margin:40px auto;

  display:grid;

  gap:30px;

}


/* ========================= */
/* CARD */
/* ========================= */

.card{

  background:white;

  padding:35px;

  border-radius:18px;

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

}


.card h2{

  margin-bottom:25px;

  font-size:34px;

  color:#0f172a;

}


.card h3{

  margin-bottom:14px;

  color:#0f172a;

}


.card p{

  line-height:1.8;

  margin-bottom:10px;

}


/* ========================= */
/* FEATURE GRID */
/* ========================= */

.feature-grid{

  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

  gap:20px;

  margin-top:25px;

}


.feature-box{

  background:#f8fafc;

  border:1px solid #dbe3ee;

  border-radius:16px;

  padding:25px;

  transition:0.3s;

}


.feature-box:hover{

  border-color:#2563eb;

  transform:translateY(-4px);

  box-shadow:
    0 4px 14px rgba(37,99,235,0.1);

}


/* ========================= */
/* MOCK GRID */
/* ========================= */

.mock-grid{

  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap:24px;

  margin-top:25px;

}


/* ========================= */
/* MOCK CARD */
/* ========================= */

.mock-card{

  background:#f8fafc;

  border:1px solid #dbe3ee;

  border-radius:18px;

  padding:30px;

  transition:0.3s;

}


.mock-card:hover{

  transform:translateY(-4px);

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

}


.mock-card h3{

  font-size:28px;

  margin-bottom:14px;

}


.mock-card p{

  margin-bottom:18px;

}


.feature-list{

  margin-left:20px;

  margin-bottom:25px;

}


.feature-list li{

  margin-bottom:12px;

}


/* ========================= */
/* PREMIUM CARD */
/* ========================= */

.premium-card{

  border:2px solid #f97316;

}


/* ========================= */
/* BUTTONS */
/* ========================= */

button{

  width:100%;

  padding:16px;

  border:none;

  border-radius:12px;

  background:#2563eb;

  color:white;

  font-size:17px;

  font-weight:bold;

  cursor:pointer;

  transition:0.3s;

}


button:hover{

  background:#1d4ed8;

}


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

.premium-btn{

  background:#f97316;

}


.premium-btn:hover{

  background:#ea580c;

}


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

.logout-btn{

  width:auto;

  padding:12px 25px;

  background:#dc2626;

}


.logout-btn:hover{

  background:#b91c1c;

}


/* ========================= */
/* STATUS */
/* ========================= */

.status{

  display:inline-block;

  padding:8px 16px;

  border-radius:30px;

  font-size:14px;

  font-weight:bold;

}


.pending{

  background:#fff7ed;

  color:#ea580c;

}


.approved{

  background:#ecfdf5;

  color:#059669;

}


.rejected{

  background:#fef2f2;

  color:#dc2626;

}


/* ========================= */
/* PREMIUM ACCESS BOX */
/* ========================= */

.premium-lock{

  background:#fff7ed;

  border-left:6px solid #f97316;

  padding:25px;

  border-radius:14px;

}


.premium-box{

  background:#eff6ff;

  border-left:6px solid #2563eb;

  padding:25px;

  border-radius:14px;

}


.premium-lock ul,
.premium-box ul{

  margin-top:15px;

  margin-left:20px;

}


.premium-lock li,
.premium-box li{

  margin-bottom:12px;

}


/* ========================= */
/* RESULT CARDS */
/* ========================= */

.result-card{

  background:white;

  border-radius:16px;

  padding:25px;

  margin-bottom:20px;

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

}


/* ========================= */
/* POPUP */
/* ========================= */

.popup-overlay{

  position:fixed;

  inset:0;

  background:rgba(0,0,0,0.5);

  display:flex;

  justify-content:center;

  align-items:center;

  z-index:999;

}


.popup-box{

  background:white;

  width:90%;

  max-width:500px;

  padding:35px;

  border-radius:18px;

}


.popup-box h2{

  margin-bottom:20px;

}


.popup-box ul{

  margin-left:20px;

  margin-bottom:25px;

}


.popup-box li{

  margin-bottom:12px;

}


/* ========================= */
/* FOOTER */
/* ========================= */

.footer{

  background:#0f172a;

  color:white;

  text-align:center;

  padding:22px;

  margin-top:50px;

}


/* ========================= */
/* LOADING BOX */
/* ========================= */

.loading-box{

  background:#f8fafc;

  padding:20px;

  border-radius:14px;

  text-align:center;

}


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

@media(max-width:992px){

  .dashboard-layout{

    flex-direction:column;

  }

  .sidebar{

    width:100%;

    height:auto;

    position:relative;

  }

}


@media(max-width:768px){

  .topbar{

    flex-direction:column;

    align-items:flex-start;

  }

  .container{

    width:95%;

  }

  .header h1{

    font-size:32px;

  }

  .card{

    padding:25px;

  }

  .card h2{

    font-size:28px;

  }

  .mock-grid{

    grid-template-columns:1fr;

  }

  .feature-grid{

    grid-template-columns:1fr;

  }

  .logout-btn{

    width:100%;

  }

}
