/*...........................home page......................................*/

.index-page .fade-title{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease,transform 0.6s ease;
}
.index-page .fade-title.active{
  opacity: 1;
  transform: translateY(0);
}
/* Base */
.index-page *{ box-sizing:border-box; } 
.index-page body{ margin:0; font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.index-page{ background:#071827; color:#eaf3ff; }
.index-page
#about,
#features{
  scroll-margin-top: 110px;
}
    .index-page .about {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
.index-page .media-image-box {
    width: 100%;
    max-width:420px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
    .index-page .media-image-box img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        opacity: 0.92;
        transition: 0.4s ease;
        border-radius: 24px;
    }
       .index-page .media-image-box img:hover {
            transform: scale(1.03);
            opacity: 1;
        }
.index-page .container{
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 70px;
}

.index-page .topbar{
  background:#071827;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.index-page .topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px;
  gap:16px;
}
.index-page .topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
}
.index-page .topbar__badge{
  width:10px; height:10px; border-radius:50%;
  background:#17c3b2;
  box-shadow:0 0 0 4px rgba(23,195,178,0.12);
}
.index-page .topbar__text{
  font-size:13px;
  letter-spacing:.2px;
  color:rgba(234,243,255,0.88);
}
.index-page .topbar__meta{
  font-size:13px;
  color:rgba(234,243,255,0.70);
}
.index-page .topbar .container{
  padding-left: 40px;
  padding-right: 40px;
}
.index-page .header{
  position:sticky;
  padding-left: 60px;
  padding-right: 60px;
  top:0;
  z-index:20;
  backdrop-filter: blur(10px);
  background:rgba(7,24,39,0.72);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.index-page .header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.index-page .brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.index-page .brand__mark{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(23,195,178,0.20), rgba(34,197,94,0.12));
  color:#c8fff9;
  border:1px solid rgba(23,195,178,0.25);
}
.index-page .brand__title{
  font-weight:700;
  font-size:15px;
  letter-spacing:.2px;
}
.index-page .brand__subtitle{
  font-size:12px;
  color:rgba(234,243,255,0.72);
  margin-top:2px;
}

.index-page .nav{
  display:flex;
  align-items:center;
  gap:16px;
}
.index-page .nav__link{
  color:rgba(234,243,255,0.78);
  text-decoration:none;
  font-size:14px;
  font-family:'Inter', Arial, sans-serif;
  font-weight:400;
  padding:10px 10px;
  border-radius:10px;
  transition:0.3s ease;
}
.index-page .nav__link:hover{
  background:rgba(255,255,255,0.06);
  color:#eaf3ff;
}
.index-page .nav__cta{
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  font-family:'Inter', Arial, sans-serif;
  color:#04101a;
  background:linear-gradient(135deg, #17c3b2, #22c55e);
  padding:10px 14px;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(23,195,178,0.18);
  transition: 0.3s ease;
}
.index-page .nav__cta:hover{ filter:brightness(0.5); }

.index-page .main{
   overflow:hidden;
}
.index-page .hero{
  padding:120px 0 20px;
  position:relative;
  width: 100%;
  margin-top: -70px;
}
.index-page .hero::before{
  content:"";
  position:absolute;
  height:420px;
  background:radial-gradient(circle at 20% 20%, rgba(23,195,178,0.28), transparent 55%),
             radial-gradient(circle at 70% 10%, rgba(34,197,94,0.22), transparent 55%),
             radial-gradient(circle at 50% 60%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events:none;
  inset: 0;
}
.index-page .hero__inner{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:23px;
  align-items:stretch;
  position:relative;
  border-radius: 25px;
}
.index-page .hero__kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:rgba(234,243,255,0.78);
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  margin-top: 30px;
}
.index-page .hero__title{
  margin:14px 0 10px;
  font-size:38px;
  line-height:1.08;
  letter-spacing:-.6px;
}
.index-page .accent{
  color:#7ff8ee;
}
.index-page .hero__desc{
  margin:0;
  color:rgba(234,243,255,0.78);
  font-size:16px;
  line-height:1.7;
  max-width:64ch;
}
.index-page .hero__actions{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}
.index-page .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:400;
  font-size:14px;
  font-family:'Inter', Arial, sans-serif;
  border:1px solid transparent;
  margin-bottom: 14px;
  transition: 0.3s ease;
}
.index-page .btn--primary{
  color:#04101a;
  font-weight:500;
  background:linear-gradient(135deg, #17c3b2, #22c55e);
  box-shadow:0 12px 28px rgba(23,195,178,0.18);
}
.index-page .btn--primary:active{
  filter: brightness(0.8);
  transform: scale(0.98);
}
.index-page .btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 195, 178, 0.25);
  background: linear-gradient(135deg,#149a8f,#1a9a4a);
}
.index-page .btn--secondary{
  color:#eaf3ff;
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.12);
  transition: all 0.3s ease;
}
.index-page .btn--secondary:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 195, 178, 0.25);
}

.index-page .hero__highlights{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.index-page .chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-family:'Inter', Arial, sans-serif;
  font-weight:400;
  color:rgba(234,243,255,0.80);
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  padding:9px 10px;
  border-radius:999px;
  margin-top: 30px;
  cursor:pointer;
  transition:0.3s ease;
}
.index-page .chip:hover{
  transform:translateY(-4px);
  border-color:rgba(23,195,178,0.4);
  box-shadow:0 10px 30px rgba(23,195,178,0.15);
  background:rgba(23,195,178,0.08);
}
.index-page .chip:hover .chip__dot{
  box-shadow:0 0 0 6px rgba(23,195,178,0.2);
  background:#7ff8ee;
}
.index-page .chip__dot{
  width:8px; height:8px; border-radius:50%;
  background:#17c3b2;
  box-shadow:0 0 0 4px rgba(23,195,178,0.10);
  transition:0.3s ease;
}

.index-page .hero__panel {
    display: flex;
}

.index-page .panel{
  width:100%;
  background: linear-gradient(135deg, rgba(0,200,170,0.15), rgba(2, 71, 90, 0.15));
  backdrop-filter: blur(14px);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  position:relative;
  margin-top: 30px;
}
.index-page .panel::after{
  content:"";
  position:absolute;
  inset:auto 12px 12px auto;
  width:140px; height:140px;
  background:radial-gradient(circle at 30% 30%, rgba(23,195,178,0.22), transparent 60%);
  pointer-events:none;
  filter:blur(2px);
}
.index-page .panel__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.index-page .panel__title{
  font-weight:750;
  letter-spacing:.2px;
  font-size: 17px;
  background:transparent;
  text-shadow:none;
}
.index-page .panel__status{
  font-size:16px;
  color:rgba(234,243,255,0.75);
  display:flex;
  align-items:center;
  gap:8px;
}
.index-page .status-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,0.12);
}
.index-page .panel__grid{
  background: #0b2236;
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:25px;
}
.index-page .stat{
  padding:12px;
  border-radius:14px;
  background:rgba(7,24,39,0.55);
  border:1px solid rgba(255,255,255,0.08);
}
.index-page .stat__label{
  font-size:12px;
  color:rgba(234,243,255,0.70);
}
.index-page .stat__value{
  margin-top:6px;
  font-weight:700;
}
.index-page .panel__note{
  margin-top:50px;
  font-size:13px;
  line-height:1.6;
  color:rgba(234,243,255,0.76);
}
.index-page .panel__link {
    color: #8fffe0;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    font-weight: 700;
    transition: 0.3s ease;
}
.index-page .panel__link:hover {
    color: #b8ffef;
}

.index-page .section{
  padding:44px 0;
  margin-top: 100px;
}
.index-page .section--alt{
  background:rgba(255,255,255,0.03);
  border-top:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.index-page .section__head{
  max-width:820px;
  margin-bottom:18px;
  margin-top: -40px;
}
.index-page .section__title{
  margin:0 0 8px;
  font-size:33px;
  letter-spacing:-.3px;
  margin-top: 14px;
}
.index-page .section__subtitle{
  margin:0;
  color:rgba(234,243,255,1);
  line-height:1.65;
}

.index-page .cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.index-page .card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:19px;
  padding:16px;
}
.index-page .card__icon{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(23,195,178,0.20), rgba(34,197,94,0.10));
  border:1px solid rgba(23,195,178,0.22);
  margin-bottom:10px;
}
.index-page .icon-circle{
  width:16px; height:16px; border-radius:50%;
  background:#17c3b2;
}
.index-page .icon-shield{
  width:16px; height:16px;
  border-radius:6px;
  background:#22c55e;
}
.index-page .icon-link{
  width:18px; height:10px;
  border-radius:999px;
  background:#7ff8ee;
}
.index-page .card__title{
  margin:0 0 8px;
  font-size:16px;
}
.index-page .card__text{
  margin:0;
  color:rgba(234,243,255,0.76);
  line-height:1.65;
  font-size:14px;
}

/* About */
.index-page .about{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:18px;
  align-items:center;
  border-radius: 18px;
}
.index-page .media-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(7,24,39,0.55);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow:hidden;
}
.index-page .media-card__bar{
  display:flex;
  gap:6px;
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
}
.index-page .media-dot{
  width:10px; height:10px;
  border-radius:50%;
  background:rgba(234,243,255,0.22);
}
.index-page .media-card__body{ padding:14px; }
.index-page .media-line{
  height:10px;
  border-radius:999px;
  background:rgba(234,243,255,0.10);
  margin-bottom:10px;
}
.index-page .media-line--short{ width:70%; }
.index-page .media-boxes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:10px;
}
.index-page .media-box{
  height:58px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(23,195,178,0.18), rgba(34,197,94,0.08));
  border:1px solid rgba(255,255,255,0.08);
}

.index-page .about__text{
  color:rgba(234,243,255,0.76);
  line-height:1.75;
  margin:0 0 14px;
}
.index-page .workflow{
  display:grid;
  gap:20px;
  margin-top:12px;
}
.index-page .step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
}
.index-page .step__num{
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  font-weight:800;
  color:#04101a;
  background:linear-gradient(135deg, #17c3b2, #22c55e);
}
.index-page .step__title{ font-weight:750; }
.index-page .step__text{
  margin-top:4px;
  color:rgba(234,243,255,0.74);
  font-size:14px;
  line-height:1.55;
}
.index-page .about__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* Policies */
.index-page .policy-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:35px;
  margin-top:18px;
}
.index-page .policy{
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
}
.index-page .policy__title{
  font-weight:800;
  margin-bottom:8px;
}
.index-page .policy__text{
  color:rgba(234,243,255,0.76);
  line-height:1.65;
  margin:0;
  font-size:14px;
}
.index-page .policy__title,
.index-page .policy__text,
.index-page .step,
.index-page .card,
.index-page .panel__grid,
.index-page .panel__note,
.index-page .panel__top,
.index-page .stat__value,
.index-page .stat__label,
.index-page .panel__status{
  background: none !important;
}

/* Footer */
.index-page .footer{
  border-top:1px solid rgba(255,255,255,0.08);
  background:#071827;
  padding:18px 0;
}
.index-page .footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.index-page .footer__title{
  font-weight:800;
  font-family:'Inter', Arial, sans-serif;
}
.index-page .footer__note{
  color:rgba(234,243,255,0.68);
  font-size:13px;
  margin-top:4px;
  font-family:'Inter', Arial, sans-serif;
}
.index-page .footer__right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.index-page .footer__link{
  color:rgba(234,243,255,0.72);
  text-decoration:none;
  font-size:13px;
  font-family:'Inter', Arial, sans-serif;
  font-weight:400;
  transition:0.3s ease;
}
.index-page .footer__link:hover{
  color:#17c3b2;
  text-decoration:none;
}

/* Responsive */
@media (max-width: 900px) {
  .index-page .hero__inner{ grid-template-columns: 1fr; }
  .index-page .cards{ grid-template-columns: 1fr; }
  .index-page .about{ grid-template-columns: 1fr; }
  .index-page .policy-grid{ grid-template-columns: 1fr; }
  .index-page .hero__title{ font-size:36px; }
  .index-page .nav{ display:none; }
}

/*.................................login page.......................................*/

.login-page {
    font-family: Arial, sans-serif;
    background-image: url("/assets/aw.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh; 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-page .container {
    width: 100%;
    max-width: 480px;
}

.login-page h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.login-page section {
    margin: 60px;
    backdrop-filter: blur(5px);
    border-radius: 30px;
    width: 420px;     
    min-width: 460px;
    padding: 40px 50px;
    top: 22px;
    transform: translateX(-50px);
    position: relative;
    z-index: 1;
    background: rgba(15, 30, 50, 0.55);
    margin-top: -40px;
}
.login-page form input {
    margin: 10px 0;
    padding: 0 20px;
    width: 100%;
    height: 40px;
    border-radius: 14px;
    border: none;
    text-align: left;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(60px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.login-page input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px rgba(15,30,50,0.55) inset !important;
  -webkit-text-fill-color: #fff !important;
}
.login-page input::placeholder {
    color: rgba(255,255,255,0.6);
}

.login-page input:focus {
    outline: none;
    border: 1px solid #14c9c5;
    background: rgba(255,255,255,0.12);
}

.login-page .password-wrapper {
    position: relative;
}

.login-page .password-wrapper input {
    padding-right: 45px;
}

.login-page .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
    opacity: 0.8;
    transition: 0.3s;
}

.login-page .toggle-password:hover {
    opacity: 1;
    color: #14c9c5;
}

.login-page form button {
    width: auto;
    padding: 10px 35px;
    display: block;
    border-radius: 14px;
    margin: 20px auto 0 auto;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.3s ease;
    margin-top: 70px;
    color: #04101a;
    background: linear-gradient(135deg, #17c3b2, #22c55e);
    box-shadow: 0 12px 28px rgba(23, 195, 178, 0.18);
}

.login-page button:hover {
    filter:brightness(0.85);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(23, 195, 178, 0.25); 
    background: linear-gradient(135deg,#149a8f,#1a9a4a);
}
.login-page button:active{
  filter: brightness(0.8);
  transform: scale(0.98);
}

.login-page .form-group {
    margin-bottom: 20px;
}

.login-page .input-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-page .input-icon i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.login-page .input-icon input {
    flex: 1;
}
.login-page #errorMsg {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: #ff6b6b;
    font-weight: 500;
}

/*..................................admin page........................................*/

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

body {
  font-family: 'Inter', sans-serif;
}

.admin-page {
  background: #071827;
  color: #223042;
}
.admin-page .btn-sm-disabled {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    font-size: 12px;
    opacity: 0.7;
}
.admin-page .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #071827;
  border-bottom: 10px solid rgba(87, 219, 217, 0.08);
}

.admin-page .topbar-left h1 {
  font-size: 20px;
  color: #ffffff;
}

.admin-page .topbar-left p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.admin-page .topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.admin-page .topbar-actions{
  display: flex;
  gap: 12px;
}
.admin-page .loggedin-badge {
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.admin-page .table-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #4fd1c5;
    background:#e5e7eb;
    display:block;
}
.admin-page .btn-logout {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #04101a;
  background: linear-gradient(135deg, #17c3b2, #22c55e);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(23, 195, 178, 0.18);
  transition:  0.3s ease;
  border: none;
}

.admin-page .btn-logout:hover {
  filter:brightness(0.5); 
}
.admin-page .btn-icon{
  width: 38px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f2937;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s ease;
}
.admin-page .btn-icon:hover{
  background:  linear-gradient(135deg, #17c3b2, #22c55e);
}
.admin-page .container {
  padding: 24px;
  min-height: calc(100vh - 80px);
  background: #071827;
}
.admin-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.admin-page .stat-card {
  background: #f6f7f8;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.admin-page .stat-title {
  font-size: 13px;
  color: #6b7280;
}

.admin-page .stat-value {
  font-size: 30px;
  font-weight: 700;
  margin-top: 8px;
  color: #1f2a37;
}

.admin-page .stat-sub {
  font-size: 12px;
  margin-top: 6px;
  color: #6b7280;
}
.admin-page .panel {
  background: #f6f7f8;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.admin-page .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-page .panel-head h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1f2a37;
}

.admin-page .panel-note {
  font-size: 12px;
  color: #6b7280;
}
.admin-page .charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-page .chart-placeholder {
  margin-top: 10px;
}

.admin-page .chart-title {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.admin-page .chart-box {
  height: 260px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.7);
}

.admin-page .chart-wrap {
  width: 100%;
  height: 100%;
}

.admin-page .chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.admin-page .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-page .search,
.admin-page .select {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.8);
  font-size: 13px;
}

.admin-page .btn-primary {
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: #40746e;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.admin-page .btn-primary:hover {
  background: #052f2f;
}
.admin-page .table-wrap {
  overflow-x: auto;
}

.admin-page .table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

.admin-page .table th {
  text-align: left;
  font-size: 12px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: #556070;
}

.admin-page .table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: #1f2a37;
}
.admin-page .table tbody tr:hover {
  background: rgba(0,0,0,0.03);
}
.admin-page .pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.7);
}

.admin-page .pill-success {
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,1);
  color: #166534;
}

.admin-page .pill-muted {
  background: rgba(148,163,184,0.18);
  border: 1px solid rgba(148,163,184,1);
  color: #475569;
}

.admin-page .role-admin {
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,1);
  color: #6d28d9;
}

.admin-page .role-investigator {
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,1);
  color: #1d4ed8;
}

.admin-page .role-court {
  background: rgba(249,115,22,0.18);
  border: 1px solid rgba(249,115,22,1);
  color: #c2410c;
}
.admin-page .loc-received {
  background: rgba(14,165,233,0.15);
  color: #075985;
}

.admin-page .loc-lab {
  background: rgba(34,197,94,0.15);
  color: #166534;
}

.admin-page .loc-analysis {
  background: rgba(245,158,11,0.15);
  color: #92400e;
}

.admin-page .loc-court {
  background: rgba(239,68,68,0.15);
  color: #7f1d1d;
}
.admin-page .row-actions {
  display: flex;
  gap: 8px;
}

.admin-page .btn-sm {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}
.admin-page .btn-pressable:hover{
  filter: brightness(0.92);
}
.admin-page .btn-pressable:active{
   filter: brightness(0.80); 
   transform: translateY(1px);
}

.admin-page .pill-danger {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.6);
  color: #dc2626;
}
.admin-page .btn-danger.btn-pressable:hover{
  background: rgba(220, 40, 40, 0.25);
  color: #7f1414;
  filter: brightness(0.7);
}
.admin-page .table-footnote {
  font-size: 12px;
  margin-top: 10px;
  color: #6b7280;
}
@media (max-width: 1000px) {
  .admin-page .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-page .custom-color-pill {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 4px 10px !important;
      border-radius: 999px !important;
      font-size: 12px !important;
      font-weight: 500 !important;
      white-space: nowrap !important;
      max-width:180px !important;
      overflow:hidden !important;
      text-overflow:ellipsis !important;
      line-height:1.2 !important;
  }
  .admin-page #casesTable td {
      vertical-align: middle;
  }
  .admin-page .cases-actions,
  .admin-page td {
      overflow: visible !important;
  }
  .admin-page .charts-grid {
    grid-template-columns: 1fr;
  }
}

/*.............................investigator page ...............................*/

/*.............................investigator page ...............................*/

.investigator-page {
  font-family: 'Inter', sans-serif;
  background: #071827;
  color: #223042;
}

.investigator-page h1 {
  font-weight: 900;
  letter-spacing: 1px;
}

.investigator-page h2 {
  font-weight: 800;
}

.investigator-page .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #071827;
  border-bottom: 10px solid rgba(87, 219, 217, 0.08);
}

.investigator-page .topbar-left h1 {
  font-size: 20px;
  color: #ffffff;
}

.investigator-page .topbar-left p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.investigator-page .topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.investigator-page .topbar-actions {
  display: flex;
  gap: 12px;
}
.investigator-page .loggedin-badge {
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

.investigator-page .btn-logout {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #04101a;
  background: linear-gradient(135deg, #17c3b2, #22c55e);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(23, 195, 178, 0.18);
  transition: 0.3s ease;
  border: none;
  position: relative;
  z-index: 9999;
}

.investigator-page .btn-logout:hover {
  filter: brightness(0.5);
}

.investigator-page .btn-icon {
  width: 38px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f2937;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s ease;
}
.investigator-page .btn-icon:hover {
  background: linear-gradient(135deg, #17c3b2, #22c55e);
}

.investigator-page .wrap {
  max-width: 1900px;
  margin: 30px auto;
  padding: 0 40px;
}

.investigator-page .card {
  background: white;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow:
    0 4px 25px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  overflow: hidden;
  box-sizing: border-box;
}

.investigator-page .form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-items: end;
  width: 100%;
}

.investigator-page .field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.investigator-page .field label {
  color: #374151;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}
.investigator-page .field-wide {
  grid-column: 1 / -1;
}

.investigator-page .field input,
.investigator-page .field select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  font-size: 14px;
  background-color: #f8fafc;
  color: #1e2125;
  width: 100%;
  box-sizing: border-box;
}

.investigator-page .field textarea {
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e2125;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 80px;
}
.investigator-page .field input:focus,
.investigator-page .field select:focus,
.investigator-page .field textarea:focus {
  outline: none;
  border: 1px solid #2aa6a4;
  box-shadow: 0 0 0 2px rgba(42,166,164,0.2);
  background-color: white;
}

.investigator-page .field input[readonly] {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.investigator-page input,
.investigator-page select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  font-size: 14px;
  background-color: #f8fafc;
  color: #1e2125;
}

.investigator-page input:focus,
.investigator-page select:focus {
  outline: none;
  border: 1px solid #2aa6a4;
  box-shadow: 0 0 0 2px rgba(42,166,164,0.2);
  background-color: white;
}

.investigator-page textarea {
  padding: 10px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  background-color: #f8fafc;
  resize: vertical;
  min-height: 80px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1e2125;
}
.investigator-page label {
  font-weight: 600;
  color: #1e293b;
}

.investigator-page .label-sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin: 2px;
}

.investigator-page .actions {
  grid-column: 1 / -1;
  text-align: right;
}

.investigator-page .btn {
  background: #056979;
  color: white;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}
.investigator-page .btn:hover {
  background: #0c3849;
}

.investigator-page .btn-edit {
  background: #056979;
  color: white;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}
.investigator-page .btn-edit:hover {
  background: #06344d;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.investigator-page .btn-small {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
}

.investigator-page .btn-outline {
  background: transparent;
  color: #056979;
  border: 1px solid #056979;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}
.investigator-page .btn-outline:hover {
  background: rgba(5,105,121,0.08);
}

.investigator-page .table-wrap {
  overflow-x: auto;
}

.investigator-page .table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.investigator-page .table th {
  background: rgba(0,0,0,0.04);
  color: #556070;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
}

.investigator-page .table td {
  padding: 14px 20px;
  font-size: 13px;
  color: #1f2a37;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.investigator-page .table tbody tr:hover {
  background: #f8fafc;
}

.investigator-page .history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.investigator-page .history-meta {
  background: #f6fbff;
  border: 1px solid #e6eef7;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
}

.investigator-page .history-meta .meta-line {
  margin: 5px 0;
}

#evidenceFile {
  margin-top: 1px;
  padding: 8px;
  height: auto !important;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fafafc;
}

.investigator-page * {
  box-sizing: border-box;
}

.investigator-page .form-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
}

.investigator-page input,
.investigator-page select,
.investigator-page textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.investigator-page .field {
  min-width: 0;
}

.investigator-page .field-wide,
.investigator-page .actions {
  grid-column: 1 / -1;
}

/*...................................court page......................................*/
/*...................................court page......................................*/

.court-page {
    font-family: 'Inter', sans-serif;
    background: #071827;
    margin: 0;
    color: #0a2a49;
}
.court-page .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #071827;
    border-bottom: 10px solid rgba(87, 219, 217, 0.08);
}

.court-page .topbar-left h1 {
    font-size: 20px;
    color: #ffffff;
}

.court-page .topbar-left p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.court-page .topbar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.court-page .topbar-actions {
    display: flex;
    gap: 12px;
}
.court-page .loggedin-badge {
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 9px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}

.court-page .btn-logout {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: #04101a;
    background: linear-gradient(135deg, #17c3b2, #22c55e);
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(23, 195, 178, 0.18);
    transition: 0.3s ease;
    border: none;
    position: relative;
    z-index: 9999;
}

.court-page .btn-logout:hover {
    filter: brightness(0.5);
}
.court-page .btn-icon {
    width: 38px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s ease;
}
.court-page .btn-icon:hover {
    background: linear-gradient(135deg, #17c3b2, #22c55e);
}

.court-page .wrap {
    max-width: 1900px;
    margin: 30px auto;
    padding: 0 40px;
}

.court-page .card {
    background: white;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow:
        0 4px 25px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    overflow: hidden;
    box-sizing: border-box;
}

.court-page .btn-small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.court-page .table-wrap {
    overflow-x: auto;
}

.court-page .table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.court-page .table th {
    background: rgba(0,0,0,0.04);
    color: #556070;
    font-size: 12px;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-align: left;
}

.court-page .table td {
    padding: 14px 20px;
    font-size: 13px;
    color: #1f2a37;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.court-page .table tbody tr:hover {
    background: #f8fafc;
}

.court-page .table td:last-child {
    width: 190px;
    white-space: nowrap;
}

.court-page .table td:last-child .btn,
.court-page .table td:last-child .btn-edit {
    margin-right: 8px;
}

.court-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.court-page .history-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.court-page .history-meta {
    margin: 12px 0 15px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e6eef7;
    border-radius: 8px;
}

.court-page .meta-line {
    margin: 4px 0;
}

.court-page #searchInput {
    height: 40px;
    padding: 0 10px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    margin-top: 10px;
}

/*...................................user popup...............................*/

.admin-page .hidden,
.investigator-page .hidden,
.court-page .hidden {
    display: none !important;
}
.admin-page .user-icon-btn,
.investigator-page .user-icon-btn,
.court-page .user-icon-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 25px;
}
.admin-page .fa-user,
.investigator-page .fa-user,
.court-page .fa-user {
    color: #087d75;
}
.admin-page .fa-user:hover,
.investigator-page .fa-user:hover,
.court-page .fa-user:hover {
    color: #0be68e;
}
.admin-page .popup-overlay,
.investigator-page .popup-overlay,
.court-page .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1000;
}
.admin-page .user-popup,
.investigator-page .user-popup,
.court-page .user-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    min-height: 420px;
    max-height: 78vh;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    z-index: 1001;
    overflow: auto;
}
.admin-page .user-popup-header,
.investigator-page .user-popup-header,
.court-page .user-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
}
.admin-page .close-btn,
.investigator-page .close-btn,
.court-page .close-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    color: #ffffff;
}
.admin-page .user-popup-body,
.investigator-page .user-popup-body,
.court-page .user-popup-body {
    padding: 16px;
    background: #0f172a;
    text-align: center;
}
.admin-page .avatar-wrap,
.investigator-page .avatar-wrap,
.court-page .avatar-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 25px 0;
}
.admin-page .avatar,
.investigator-page .avatar,
.court-page .avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.7);
    margin-top: -25px;
}
.admin-page .user-info,
.investigator-page .user-info,
.court-page .user-info {
    margin-top: 20px;
    text-align: left;
}
.admin-page .user-info div,
.investigator-page .user-info div,
.court-page .user-info div {
    display: flex;
    justify-content: space-between;
    margin: 14px 0;
    font-size: 14px;
    color: #e2e8f0;
}
.admin-page .change-pass-btn,
.investigator-page .change-pass-btn,
.court-page .change-pass-btn {
    width: fit-content;
    margin: 6px 4px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Inter', Arial, sans-serif;
    cursor: pointer;
    border: none;
    color: #04101a;
    background: linear-gradient(135deg, #17c3b2, #22c55e);
    box-shadow: 0 8px 20px rgba(23,195,178,0.18);
    transition: 0.3s ease;
}
.admin-page .change-pass-btn:hover,
.investigator-page .change-pass-btn:hover,
.court-page .change-pass-btn:hover {
    filter: brightness(0.85);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(23,195,178,0.25);
    background: linear-gradient(135deg,#149a8f,#1a9a4a);
}
#passOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
  pointer-events: auto;
}
#passOverlay.hidden {
  display: none !important;
}
.admin-page .change-pass-form,
.investigator-page .change-pass-form,
.court-page .change-pass-form {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 18px 16px;
    border-radius: 16px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}
.admin-page .change-pass-form input,
.investigator-page .change-pass-form input,
.court-page .change-pass-form input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    font-size: 14px;
}
.admin-page .change-pass-form input::placeholder,
.investigator-page .change-pass-form input::placeholder,
.court-page .change-pass-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
.admin-page .change-pass-form input:focus,
.investigator-page .change-pass-form input:focus,
.court-page .change-pass-form input:focus {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.admin-page .change-pass-form button[type="submit"],
.investigator-page .change-pass-form button[type="submit"],
.court-page .change-pass-form button[type="submit"] {
    width: fit-content;
    align-self: center;
    min-width: 120px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', Arial, sans-serif;
    border: none;
    box-shadow: 0 10px 24px rgba(23,195,178,0.18);
    transition: 0.3s ease;
    background: linear-gradient(135deg, #17c3b2, #22c55e);
    color: #04101a;
    cursor: pointer;
    margin-top: 30px;
}
.admin-page .change-pass-form button[type="submit"]:hover,
.investigator-page .change-pass-form button[type="submit"]:hover,
.court-page .change-pass-form button[type="submit"]:hover {
    filter: brightness(0.85);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(23,195,178,0.25);
    background: linear-gradient(135deg,#149a8f,#1a9a4a);
}
.admin-page .change-pass-form button[type="submit"]:hover,
.investigator-page .change-pass-form button[type="submit"]:hover,
.court-page .change-pass-form button[type="submit"]:hover {
    filter: brightness(0.50);
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.32);
}
.admin-page .change-pass-form button[type="submit"]:active,
.investigator-page .change-pass-form button[type="submit"]:active,
.court-page .change-pass-form button[type="submit"]:active {
    transform: translateY(0px) scale(0.98);
    filter: brightness(0.98);
    box-shadow: 0 8px 18px rgba(34,197,94,0.22), 0 10px 30px rgba(0,0,0,0.22);
}
.admin-page .change-pass-form button[type="submit"]:focus-visible,
.investigator-page .change-pass-form button[type="submit"]:focus-visible,
.court-page .change-pass-form button[type="submit"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25), 0 10px 24px rgba(34,197,94,0.25), 0 10px 40px rgba(0,0,0,0.25);
}
.admin-page .change-pass-form button[type="submit"]:disabled,
.investigator-page .change-pass-form button[type="submit"]:disabled,
.court-page .change-pass-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: none;
    box-shadow: none;
}
.admin-page #passMsg,
.investigator-page #passMsg,
.court-page #passMsg {
    margin: 0;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
}
