/* styles.css */
body,html{height: 100%;}
html { font-size: 62.5%; }  /* =10px */
/*
 * Base structure
 */

a{
    text-decoration: none;
    color: #fff;
}
a:hover{
    color: #C8A951;
}
.linktext{
  color: #000;
}
.linktext:hover{
  color: #C8A951;
}
.text-yellow{
  color: #C8A951;
}
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
    font-size: 1.8rem;
  line-height: 1.6;
  
 padding-top: 72px;
  color: #09111c;
    transition: all 1s ease-in;

}
h1{
font-size: 6rem;
color: #09111c;
font-weight: 900;

}
h2, .section-title{
font-size: 3.2rem;

font-weight: 700;

}
h3{
font-size: 3.2rem;

font-weight: 700;
 

}
.login-section, .bg-blue{
  background: #010101 !important;
}
.btn{
  font-size: 1.8rem;
  padding: 7px 25px;
  font-weight: 500;
}
.btn-dark{
  background: #010101;
border: 1px solid #010101;
color: #fff;
}
.btn-dark:hover{
  background: #C8A951;
border: 1px solid #C8A951;
color: #fff;
}
.btn-primary {
  background-color: #C8A951;
  border-color: #C8A951;
  color: #fff;
}
.btn-primary-light{
  background-color: #E3C497;
  border-color: #C8A951;
  color: #000;
}
.btn-primary:hover, .btn-primary-light:hover {
   background-color: #fff;
  border-color: #C8A951;
  color: #C8A951;
}

.linkyellow{
   color: #C8A951;
}
.notebox{
  border-left: 5px solid #33E3FF;
  padding-left: 10px;
}
.btn-primary:hover svg path{
  fill: #33E3FF;
}
.form-check-input:checked {
  background-color: #C8A951;
  border-color: #C8A951;
}
.bg-trans{
  background: rgba(255,255,255,0.12);
}
.navbar-nav .dropdown-menu{
  position: absolute;
    background: #010101;
    font-size: 1.8rem;
    min-width: 100%;
}
.dropdown-item{
  color: #fff;
}
.profile{
  border-radius: 50%;
  border:1px solid #2083B6;
}
.dropdown-toggle::after{
  display: none;
}
.navbar-nav .nav-item{
  display: inline-flex;
  align-items: center;
  padding-right: 20px;
}
.notice-count{
  display: inline-flex;
  width: 15px;
  height: 15px;
  background: #D10404;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
  left: 19px;
  top:0;
  font-size: 12px;
}
.form-control, .form-select{
  font-size: 1.8rem;
  padding: 5px 10px;

 
 color: #000;
}
.form-select{
  padding-right: 30px;
}
.search-input{
  background: rgba(255,255,255,1) url('images/search.svg') no-repeat left 10px center;
  border-color:transparent;
  padding-left: 45px;
  color: #fff;
  max-width: 500px;
  border-radius: 15px;
}
.form-control::placeholder{
color: rgba(0,0,0,0.5);
}
.sidebar {
 background: #010101}
.side-menu li a{
  color: #fff;
  font-weight: 500;
  padding:15px;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}
.side-menu li a:hover{
  color: #C8A951;
}
.side-menu li a:hover svg path{
  fill: #C8A951;
}
.side-menu li a.active{
background: #C8A951;
color: #fff;
}
.side-menu li a.active:hover svg path{
  fill: #fff;
}
.left-icon{
  width: 20px;
}
.bg-grd{
  background:
  radial-gradient(
    closest-side at 50% 50%,
    rgba(9, 34, 97, 0.7),
    rgba(44, 114, 161, 0.7)
  );
}
.bucks-bg{
  background: linear-gradient(
  180deg,
  rgba(108, 165, 241, 0.48) 0%,
  rgba(44, 114, 161, 0.48) 100%
);
}
.dash-icon{
  width: 122px;
  height: 122px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.36);
}
.icon70{
  width: 70px;
  height: 70px;
}
.icon50{
  width: 50px;
  height: 50px;
}
.text-blue{
  color: #010101;
}
.text40{
  font-size: 4rem;
  line-height: 1;
}
.text28{
  font-size: 2.8rem;

}
.fw-medium{
  font-weight: 500;
}
.morelink{
  color: #fff;
}
.morelink:hover{
  color: #33E3FF;
}
.bg-grd a{
  position: absolute;
  bottom: 15px;
  right: 20px;
}

.grd2{
  background: transparent radial-gradient(
  closest-side at 50% 50%,
  rgba(225, 234, 246, 0.48) 0%,
  rgba(44, 114, 161, 0.48) 100%
) ;
  border-radius:10px;
}
.heading-box{
  background: transparent linear-gradient(
  180deg,
  rgba(13, 87, 161, 0.59) 0%,
  rgba(7, 15, 81, 0.59) 100%
) 0% 0% no-repeat padding-box;

border-radius: 10px 10px 0px 0px;
}
.bg-white-trans{
  background: rgba(255,255,255,0.05) !important;
}
.ui-slider-horizontal .ui-slider-range, .ui-slider .ui-slider-handle{
  background:  #33E3FF;
  border-color: #33E3FF;
}
.icon-b{
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
}
.bg-light-yellow{
  background: #F5F5BD;
}


.login-section{
  padding-bottom: 50px;
}

.login-box{
background: #fff;
border-radius: 10px;
padding: 20px;
}
.btn-white{
  background: #fff;
  border-color: #fff;
}
.btn-white:hover{
  background: #33E3FF;
  border-color: #33E3FF;
}
.password-wrapper{
  position: relative;
}
.toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #ccc;
        }

        .list-nav a{
background: rgba(255,255,255,0.44);
border-radius: 5px;
color: #fff;
display: inline-flex;
padding: 7px 15px;
margin-right: 5px;
        }
        .list-nav a:hover, .list-nav a.active{
          background: rgba(51,227,255,0.44);
        }

        .table-icon{
          display: inline-flex;
          padding: 8px 15px;
          border-radius: 5px;
          align-items: center;
          justify-content: center;
        }
        .table-icon svg, .table-icon img{
          width: 15px;
        }
        .btn-sm{
          font-size: 1.4rem;
          padding: 5px 10px;
          font-weight: 400;
        }
        .table tr th{
       
          padding: 10px 5px;
          border-color: transparent;
        }
         .table tr td{
       vertical-align: middle;
          padding: 10px 5px;
         
          font-size: 1.6rem;
        }
        .text-success{
          color: #13F60B !important;
        }
      
        .text-warning{
          color: #FB9613 !important;
        }
        .page-link{
          font-size: 1.6rem;
        }
        .cicle-number{
             width: 60px;
          height: 60px;
          border-radius: 50%;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          background-color: rgba(255,255,255,0.6);
        }
        .cicle-icons{
            width: 50px;
          height: 50px;
          border-radius: 50%;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          background-color: rgba(255,255,255,0.6);
          position: relative;
          z-index: 1;
        }
        .cicle-icon{
          width: 30px;
          height: 30px;
          border-radius: 50%;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          background-color: rgba(255,255,255,0.2);
        }
        .cicle-icon svg{
          width: 20px;
        }
.upload-box {
    border: 2px dashed #33e3ff;
    
    color: #F4F1EA;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.upload-box.dragover {
    background: #1F1F1F;
    border-color: #E6D3A3;
}
.file-list li {
    background: #1F1F1F;
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 6px;
}
.text24{
  font-size: 2.4rem;
}

.progress{
  height: 30px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 20px;
}
.progress-bar{
  background-color: #39D0FF;
}
.pro-icon{
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  background-color: #8FAAB2;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #000;
}
.processing-list.active .pro-icon{
  background-color: #3FCCFA;
}
.btn-white-trans{
  background:rgba(255,255,255,0.6);
  border-color:rgba(255,255,255,0.6);
  padding: 7px 25px;
  color: #fff;
}
.btn-white-trans:hover{
  background:#39D0FF;
  border-color:#39D0FF;
 
  color: #fff;
}


.text20 {
  font-size: 2rem;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.nav-pills li{
  margin-right: 1px;
}
.nav-pills .nav-link{
background-color: #2B5DAB;
color: #fff;
border-radius: 0;
padding: 7px 15px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
  background-color: #174797;
}
.tab-content{
   background-color: #174797;
}
.border-blue{
  border-color: #204B92 !important;
}
.bg-blue-light{
  background-color: #33E3FF !important;
}
.bg-success{
  background-color: #33FF5C !important;
}
.linebox:after{
  content: "";
  width: 12px;
  height: 100%;
  display: inline-block;
  background-color: rgba(255,255,255,0.4);
  position: absolute;
  top: 2px;
  left: 50px;
  margin-left: -12px;
}
.bg-mahroom{
  background-color: #7C32DE !important;
}
.last-line{
  height: 45px;
}
.datepick{
  background-image: url('images/calender.svg');
  background-repeat: no-repeat;
  background-position: center right 10px;
}

 /* Calendar */
    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      border: 0px solid #e5e7eb;
    }

    .calendar-header,
    .calendar-cell {
      border: 1px solid rgba(255,255,255,0.4);
      min-height: 140px;
      padding: 8px;
      background: transparent;
      color: #fff
    }

    .calendar-header {
      background: transparent;
      font-weight: 600;
      text-align: center;
    }
.isshedul{
  background-color: rgba(255,255,255,0.4);
}
    .date-number {
      font-weight: 600;
      color: #fff;
      margin-bottom: 6px;
    }

    .event {
      background: transparent;
      border-left: 4px solid #4f46e5;
      padding: 6px;
      border-radius: 0;
      margin-bottom: 6px;
      font-size: 12px;
    }

    .event strong {
      display: block;
      font-size: 13px;
    }

    /* Right panel */
    .conflict-card {
      border-left: 4px solid #dc2626;
      background: transparent;
    }
    .cell-height{
      min-height: 500px;
    }
    .opecity-50{
      opacity: 50%;
    }
    .h-min-auto{
      min-height: inherit;
    }
    .teb-cell{

    }
    .table-responsive{
      margin-bottom: 20px;
    }
    .photo-circle{
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      right: 10px;
      top: 10px;
      background-color: rgba(240,255,180,07);
    }
    .text32{
      font-size: 3.2rem;
    }
    .text50{font-size: 5rem;}
.bg-grd-blue{
  background: linear-gradient(
  180deg,
  rgba(9, 34, 97, 0.92) 0%,
  rgba(44, 114, 161, 0.92) 100%
);
  box-shadow: 0px 3px 6px #537DBB29;
border: 1px solid #518E9E;
}
.mih{
  min-height:700px;
}
.mih-400{
  min-height:400px;
}
.max-w500{
  max-width: 500px;
}
.icon-box{
  width: 70px;
  height: 70px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}
.text-grey{
  color: #9C9C9C;
}
.bg-info-light{
  background: #D7F8E0;
  border:1px solid #A8EBA8;
}
.bg-b2{
  background: #AAE9BF;
}
.bg-y2{
  background: #E9E9AA;
}
.bg-r2{
  background: #F5CECE;
}
.bg-warning-light{
  background: #F6F8D7;
  border:1px solid #EBDBA8;
}
.bg-danger-light{
  background: #F6E7E7;
  border:1px solid #EEA7A7;
}
.icon50{
  width: 50px;
  height: 50px;
}
.bg-grey{
  background: #EEEEEE;
}
.linkyellow:hover{
  color:  #A8EBA8;
}
.list-menu a{
  display: inline-block;
  background: #fff;
  border:1px solid #979797;
  border-radius: 5px;
  padding: 10px 25px;
  font-weight: 500;
  color: #2B3C5E;
  margin-right: 5px;
  margin-bottom: 5px;
}
.list-menu a:hover, .list-menu a.active{
  color: #fff;
  background: #2B3C5E;
  border-color: #2B3C5E;

}
.text-green{
  color: #289f1c !important;
}
.btn-outline-blue{
  border-color: #010101;
  color: #010101;
}
.btn-outline-blue:hover{
  background: #010101;
  color: #fff;
}
.btn-outline-secondary{
  background-color: #fff;
}
.table th{
background:#C8A951;
color: #fff;
}
.table td{
  background: #EEEFF2;
}
.page-link{
  color: #010101;
  border-color: #010101;
  font-size: 1.6rem;
}
.time-list .dot{
  margin-left:  -5px;
}
.active > .page-link, .page-link.active{
  background: #010101;
  border-color: #010101;
  color: #fff;
}
.breadcrumb-item a{
  color:  #676767;
}
.btn-outline-primary{
  color: #C8A951;
  border-color: #C8A951;
}
.btn-outline-primary:hover{
  background: #C8A951;
  border-color: #C8A951;
  color: #fff;
}
.select-box{
  border:1px solid #2B3C5E;
}
.select-box.active{
  border:1px solid #EF7522 !important;
}
.bg-success{
  background: #D7FFD2 !important;
}
.text-primary{
color: #1047B7!important;
}
.bg-warning{
  background: #FFEDC4 !important;
}
.border-yellow{
  border-color: #C8A951 !important
}
.text-alert{
  color: #8F0909;
}
.bg-red-light{
  background: #FFE8F1;
}
.bg-yellow-light{
  background: #FFF1B9;
}
.progress{
  height: 10px;
  background: #DCDADA;
}
.bg-yellow{
  background: #C8A951;
}
.bg-green{
  background: #289F1C;
}
.link-blue{
  color: #2B3C5E;
}
.link-blue:hover{
  color: #D88417;
}
.bg-blue-light2{
  background: #ECFCF5;
}
.text-purple{
  color: #A325CF;
}
.bg-purple{
  background: #A325CF;
}
.profile-links{
  color: #615656;
  padding: 10px !important;
}
.profile-links.active{
  background: #2B3C5E;
  color: #fff;
  border-radius: 5px;
}
.profile-links.active svg path{
  fill: #fff;
}
.btn-outline-blue:hover svg path, .btn-outline-danger:hover svg path{
  fill: #fff;
}
.accordion-button{
  font-size: 1.8rem;
  padding: 15px;
}
.dot{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  
}
.btn-dark:hover svg path{
  fill: #010101;
}
.btn-primary:hover svg path{
  fill: #C8A951;
}
.bg-b3{
  background: #E1E5F2;
}
.bg-g3{
  background: #C7F5D2;
}

/* Login page theme (matched to images/logo.svg colors) */
.login-page-body {
  background: linear-gradient(135deg, #063654 0%, #042b35 100%);
  color: #fff;
}
.login-page-section{
  position: relative;
  min-height: 100vh;
  padding-top: 0;
}
.login-glow{ position:absolute; width:420px; height:420px; filter: blur(80px); opacity: 0.18; pointer-events:none; }
.login-glow-tl{ top:-120px; left:-80px; background: radial-gradient(circle,#cb882a 0%, transparent 60%); }
.login-glow-br{ bottom:-120px; right:-80px; background: radial-gradient(circle,#063654 0%, transparent 60%); }
.login-card{
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.06);
}
.login-page-logo{ max-width: 220px; height: auto; display: inline-block; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)); }
.login-heading{ color:#ffffff; font-size: 2.6rem; font-weight:700; }
.login-subheading{ color: rgba(255,255,255,0.82); margin-bottom: 0; }
.login-divider-line{ display:flex; align-items:center; justify-content:center; gap:12px; }
.login-divider-line .divider-bar{ display:block; height:1px; width:60px; background: rgba(255,255,255,0.06); }
.login-divider-line .divider-label{ color: #cb882a; font-weight:600; font-size:1.2rem; letter-spacing:1px; }
.login-input-wrap{ position: relative; }
.login-input-icon{ position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; }
.login-input-icon svg path{ fill: #cb882a !important; }
.login-field{ background: #ffffff; border-radius:8px; padding: 10px 12px 10px 48px; border: none; color: #063654; font-size:1.6rem; }
.login-field::placeholder{ color: rgba(6,54,84,0.5); }
.login-field:focus{ outline: none; box-shadow: 0 0 0 6px rgba(203,136,42,0.08); }
.toggle-password { color: rgba(255,255,255,0.6); }
.btn-login-submit{ background: #cb882a; border-color: #cb882a; color: #063654; font-weight:700; padding: 12px 16px; border-radius:8px; font-size:1.8rem; }
.btn-login-submit:hover{ background:#fff; color:#063654; }
.login-bottom-text, .login-policy-text{ color: rgba(255,255,255,0.75); font-size:1.6rem; }
.login-forgot-link{ color: rgba(255,255,255,0.96); }
.login-forgot-link:hover{ color:#cb882a; }
.linkyellow{ color: #cb882a; }
.login-check .form-check-input:checked{ background-color: #cb882a; border-color: #cb882a; }

/* Small responsive tweak */
@media (max-width: 576px){
  .login-card{ padding:20px; }
  .login-heading{ font-size:2.2rem; }
}
.table-secondary  th {
  background: #fff;

  color: #010101;
}
.table-secondary  td {
  background: #fff;

  color: #000;
}
canvas {
    width: 100% !important;
    height: 350px !important;
}
@media (min-width: 768px) {


}
@media (max-width: 1600px) {
 .text28{
  font-size: 2rem;

}
}
@media (max-width: 1365px) {


}
@media (max-width: 1225px) {

}
@media (max-width: 1125px) {
 .login-logo{
  height: 100px;
 }
}
@media (max-width: 767px) {
   .login-logo{
  height: 70px;
 }
  .navbar-nav .nav-item{
    padding-right: 0px;
  }
  .profile{
    width: 40px;
    height: 40px;
  }
  .navbar-brand img{
    height: 36px;
  }
  .navbar-nav .nav-item{
    font-size: 1.4rem;
  }
  .navbar-toggler{
    padding: 0;
  }
  .linebox:after{
    display: none;
  }
  .d-none-m{
    display:none !important;
  }
}

/* ================================================================
   LOGIN PAGE
   ================================================================ */
.login-page-body {
    background: #010101;
    padding-top: 0 !important;
}

.login-page-section {
    min-height: 100vh;
    background: #010101;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Soft radial glows that echo the logo gold */
.login-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.55;
}
.login-glow-tl {
    width: 480px;
    height: 480px;
    top: -160px;
    left: -160px;
    background: radial-gradient(circle, rgba(200,169,81,0.18) 0%, transparent 70%);
}
.login-glow-br {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(200,169,81,0.12) 0%, transparent 70%);
}

/* Logo */
.login-page-logo {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 6px 24px rgba(200,169,81,0.35));
}

/* Gold divider line */
.login-divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 14px 0 4px;
}
.divider-bar {
    flex: 1;
    max-width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C8A951 80%);
}
.login-divider-line .divider-bar:last-child {
    background: linear-gradient(90deg, #C8A951 20%, transparent);
}
.divider-label {
    color: #C8A951;
    font-size: 1.1rem;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Heading */
.login-heading {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.login-subheading {
    color: rgba(255,255,255,0.45);
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* Card */
.login-card {
    background: #0d0d0d;
    border: 1px solid rgba(200,169,81,0.22);
    border-radius: 16px;
    padding: 38px 42px;
    box-shadow:
        0 0 0 1px rgba(200,169,81,0.04),
        0 24px 64px rgba(0,0,0,0.7),
        0 0 80px rgba(200,169,81,0.05);
}

/* Labels */
.login-label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Input wrapper */
.login-input-wrap {
    position: relative;
}
.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

/* Inputs */
.login-field {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(200,169,81,0.18) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 13px 44px 13px 44px !important;
    font-size: 1.6rem !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.login-field:focus {
    background: rgba(200,169,81,0.06) !important;
    border-color: #C8A951 !important;
    box-shadow: 0 0 0 3px rgba(200,169,81,0.12) !important;
    color: #fff !important;
    outline: none;
}
.login-field::placeholder {
    color: rgba(255,255,255,0.22) !important;
}

/* Password toggle */
.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.toggle-password:hover {
    opacity: 1;
}

/* Remember / Forgot row */
.login-check .form-check-label {
    color: rgba(255,255,255,0.55);
    font-size: 1.5rem;
}
.login-forgot-link {
    color: #C8A951;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}
.login-forgot-link:hover {
    color: #fff;
}

/* Submit button */
.btn-login-submit {
    background: linear-gradient(135deg, #B89441 0%, #C8A951 40%, #D4B870 70%, #C8A951 100%);
    border: none;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1.7rem;
    padding: 14px 30px;
    border-radius: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(200,169,81,0.28);
}
.btn-login-submit:hover {
    background: linear-gradient(135deg, #C8A951 0%, #D4B870 50%, #B89441 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200,169,81,0.4);
    color: #000;
}
.btn-login-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(200,169,81,0.25);
}

/* Bottom text */
.login-bottom-text {
    color: rgba(255,255,255,0.45);
    font-size: 1.6rem;
}
.login-policy-text {
    color: rgba(255,255,255,0.28);
    font-size: 1.4rem;
}
.login-policy-link {
    color: rgba(200,169,81,0.55);
    transition: color 0.2s;
}
.login-policy-link:hover {
    color: #C8A951;
}

@media (max-width: 575px) {
    .login-card {
        padding: 28px 22px;
    }
    .login-page-logo {
        height: 100px;
    }
    .login-heading {
        font-size: 2.4rem;
    }
}

/* ================================================================
   DASHBOARD PAGE
   ================================================================ */

/* Page shell */
.dash-page {
    background: #0a0a0a;
    color: #fff;
}
.dash-main {
    background: #111111;
    min-height: calc(100vh - 72px);
    border-left: 1px solid rgba(200,169,81,0.08);
    color: #fff;
}
.dash-content {
    max-width: 1400px;
}

/* Welcome banner */
.dash-welcome {
    background: linear-gradient(135deg, #1c1c1c 0%, #161616 100%);
    border: 1px solid rgba(200,169,81,0.15);
    border-left: 4px solid #C8A951;
    border-radius: 14px;
    padding: 24px 28px;
}
.dash-welcome-name {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.dash-welcome-sub {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.45);
}
.dash-welcome-date {
    font-size: 1.6rem;
    font-weight: 600;
    color: #C8A951;
}
.dash-welcome-day {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.35);
}

/* Section headings */
.dash-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.dash-section-sub {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 0;
}

/* ── KPI Cards ── */
.kpi-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.14);
    border-top: 3px solid #C8A951;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(200,169,81,0.12);
    border-color: rgba(200,169,81,0.35);
}
.kpi-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.kpi-number {
    font-size: 4rem;
    font-weight: 800;
    color: #C8A951;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.kpi-label {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-bottom: 14px;
}
.kpi-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}
.kpi-badge-up {
    background: rgba(40,159,28,0.13);
    color: #4caf50;
}
.kpi-badge-warn {
    background: rgba(200,169,81,0.13);
    color: #C8A951;
}
.kpi-badge-alert {
    background: rgba(239,83,80,0.13);
    color: #ef5350;
}

/* ── Quick Action Cards ── */
.qa-card {
    display: block;
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.12);
    border-radius: 14px;
    padding: 30px 20px 26px;
    text-align: center;
    text-decoration: none;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.qa-card:hover {
    background: rgba(200,169,81,0.05);
    border-color: #C8A951;
    box-shadow: 0 10px 32px rgba(200,169,81,0.14);
    transform: translateY(-4px);
    text-decoration: none;
}
.qa-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.qa-card:hover .qa-icon {
    background: rgba(200,169,81,0.2);
    border-color: #C8A951;
}
.qa-label {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}
.qa-desc {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.38);
}

/* ── Recent Activity ── */
.activity-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.12);
    border-radius: 14px;
    padding: 4px 24px;
    margin-bottom: 40px;
}
.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.activity-item:last-child {
    border-bottom: none;
}
.activity-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(200,169,81,0.09);
}
.activity-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.activity-meta {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.38);
}
.min-w-0 { min-width: 0; }

/* ── Sidebar Badges ── */
.sidebar-badge {
    background: rgba(200,169,81,0.18);
    color: #C8A951;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
    line-height: 1.6;
}
.sidebar-badge-warn {
    background: rgba(200,169,81,0.18);
    color: #C8A951;
}
.sidebar-badge-alert {
    background: rgba(239,83,80,0.2);
    color: #ef5350;
}

/* Logout button in sidebar — subtle red hover */
.sidebar-logout:hover {
    color: #ef5350 !important;
    border-bottom-color: rgba(239,83,80,0.15) !important;
}
.sidebar-logout:hover svg path {
    fill: #ef5350;
}

/* Logout modal */
.logout-modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.18);
    border-radius: 16px;
    color: #fff;
}
.logout-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.logout-modal-content .btn-outline-secondary {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.2);
    background: transparent;
}
.logout-modal-content .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

@media (max-width: 767px) {
    .dash-welcome {
        padding: 20px;
    }
    .dash-welcome-name {
        font-size: 2rem;
    }
    .kpi-number {
        font-size: 3.2rem;
    }
    .activity-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .activity-title {
        white-space: normal;
    }
}

/* ================================================================
   DASHBOARD WIDGETS
   ================================================================ */

/* Widget card shell */
.widget-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.13);
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Widget header */
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.widget-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.widget-sub {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.35);
}

/* Widget table overrides */
.widget-table {
    margin-bottom: 0;
    border-collapse: collapse;
}
.widget-table thead tr th {
    background: rgba(200,169,81,0.07);
    color: rgba(255,255,255,0.45);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 10px 22px;
    border: none;
    white-space: nowrap;
}
.widget-table tbody tr td {
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.widget-table tbody tr:last-child td {
    border-bottom: none;
}
.widget-table tbody tr:hover td {
    background: rgba(200,169,81,0.04);
}
.widget-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.widget-detail {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
}
.widget-date {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

/* Source badge */
.widget-source-badge {
    display: inline-block;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    color: #C8A951;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Status badges */
.status-badge {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.status-new {
    background: rgba(239,83,80,0.12);
    color: #ef5350;
    border: 1px solid rgba(239,83,80,0.2);
}
.status-contacted {
    background: rgba(200,169,81,0.12);
    color: #C8A951;
    border: 1px solid rgba(200,169,81,0.22);
}
.status-qualified {
    background: rgba(76,175,80,0.12);
    color: #4caf50;
    border: 1px solid rgba(76,175,80,0.22);
}

/* ── Open Tasks List ── */
.task-list {
    padding: 6px 0;
    flex: 1;
}
.task-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
.task-item:last-child {
    border-bottom: none;
}
.task-item:hover {
    background: rgba(200,169,81,0.04);
}
.task-priority {
    width: 4px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
}
.task-high   { background: #ef5350; }
.task-medium { background: #C8A951; }
.task-low    { background: #4caf50; }

.task-name {
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.task-meta {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
}
.task-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.task-badge-high   { background: rgba(239,83,80,0.13);  color: #ef5350; }
.task-badge-medium { background: rgba(200,169,81,0.13); color: #C8A951; }
.task-badge-low    { background: rgba(76,175,80,0.13);  color: #4caf50; }

/* ── Upcoming Renewals List ── */
.renewal-list {
    padding: 6px 0;
    flex: 1;
}
.renewal-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
.renewal-item:last-child {
    border-bottom: none;
}
.renewal-item:hover {
    background: rgba(200,169,81,0.04);
}
.renewal-date-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.renewal-day {
    font-size: 1.6rem;
    font-weight: 800;
    color: #C8A951;
    line-height: 1.1;
}
.renewal-month {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(200,169,81,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.renewal-name {
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.renewal-policy {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.renewal-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #C8A951;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive tweaks for widgets */
@media (max-width: 767px) {
    .widget-header {
        padding: 16px 16px 12px;
    }
    .widget-table thead tr th,
    .widget-table tbody tr td {
        padding: 10px 14px;
    }
    .task-item,
    .renewal-item {
        padding: 12px 16px;
    }
    .task-name,
    .renewal-name {
        white-space: normal;
    }
}

/* ================================================================
   PROFILE SETTINGS PAGE
   ================================================================ */

/* Breadcrumb */
.prof-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.45);
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}
.prof-breadcrumb .breadcrumb-item a:hover {
    color: #C8A951;
}
.prof-breadcrumb .breadcrumb-item.active {
    color: #C8A951;
    font-size: 1.4rem;
}
.prof-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.2);
}

/* Base card */
.prof-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.14);
    border-radius: 14px;
    padding: 28px;
}
.prof-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.prof-card-sub {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.38);
}

/* Avatar */
.prof-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}
.prof-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #C8A951;
    box-shadow: 0 0 0 4px rgba(200,169,81,0.15);
}
.prof-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #C8A951;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a1a;
    cursor: pointer;
}
.prof-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.prof-role {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.4);
}
.prof-change-photo-btn {
    background: transparent;
    border: 1px solid rgba(200,169,81,0.3);
    color: #C8A951;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}
.prof-change-photo-btn:hover {
    background: rgba(200,169,81,0.1);
    border-color: #C8A951;
    color: #C8A951;
}

/* Account details rows */
.prof-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0;
    gap: 12px;
}
.prof-meta-label {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.4);
}
.prof-meta-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
}
.prof-status-badge {
    background: rgba(76,175,80,0.15);
    color: #4caf50;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(76,175,80,0.25);
}

/* Form labels and inputs */
.settings-label {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.settings-input {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(200,169,81,0.18) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-size: 1.6rem !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.settings-input:focus {
    background: rgba(200,169,81,0.05) !important;
    border-color: #C8A951 !important;
    box-shadow: 0 0 0 3px rgba(200,169,81,0.1) !important;
    color: #fff !important;
    outline: none;
}
.settings-input::placeholder {
    color: rgba(255,255,255,0.2) !important;
}

/* Buttons */
.settings-btn-cancel {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.2s;
}
.settings-btn-cancel:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* 2FA box */
.tfa-box {
    background: rgba(200,169,81,0.06);
    border: 1px solid rgba(200,169,81,0.2);
    border-radius: 12px;
    padding: 16px 20px;
}
.tfa-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(200,169,81,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tfa-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.tfa-sub {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.4);
}
.tfa-switch {
    width: 48px;
    height: 26px;
    cursor: pointer;
}
.tfa-switch:checked {
    background-color: #C8A951 !important;
    border-color: #C8A951 !important;
}
.tfa-switch:focus {
    box-shadow: 0 0 0 3px rgba(200,169,81,0.2) !important;
    border-color: #C8A951 !important;
}

@media (max-width: 767px) {
    .prof-card {
        padding: 20px;
    }
    .prof-meta-value {
        font-size: 1.3rem;
    }
}

/* ================================================================
   FORGOT PASSWORD PAGE
   ================================================================ */

/* Lock icon wrap above heading */
.fp-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(200,169,81,0.1);
}

/* Success state envelope icon */
.fp-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(200,169,81,0.1);
    border: 2px solid rgba(200,169,81,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(200,169,81,0.12);
    animation: fp-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes fp-pop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* Email shown in success state */
.fp-email-display {
    color: #C8A951;
    font-weight: 600;
    word-break: break-all;
}

/* Info notice box */
.fp-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(200,169,81,0.07);
    border: 1px solid rgba(200,169,81,0.18);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.55);
    text-align: left;
}
.fp-info-box strong {
    color: rgba(255,255,255,0.8);
}

/* Back to sign in link */
.fp-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.fp-back-link:hover {
    color: #C8A951;
}

/* Disabled resend button feedback */
.btn-login-submit:disabled {
    opacity: 0.7;
    transform: none !important;
    cursor: default;
}

/* ================================================================
   REPORTS PAGE
   ================================================================ */

/* Export buttons */
.rpt-export-btn {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 9px;
    transition: all 0.22s ease;
    white-space: nowrap;
}
.rpt-export-csv {
    background: transparent;
    border: 1px solid rgba(76,175,80,0.4);
    color: #4caf50;
}
.rpt-export-csv:hover { background: rgba(76,175,80,0.1); border-color: #4caf50; color: #4caf50; }
.rpt-export-excel {
    background: transparent;
    border: 1px solid rgba(100,181,246,0.4);
    color: #64b5f6;
}
.rpt-export-excel:hover { background: rgba(100,181,246,0.1); border-color: #64b5f6; color: #64b5f6; }
.rpt-export-pdf {
    background: transparent;
    border: 1px solid rgba(239,83,80,0.4);
    color: #ef5350;
}
.rpt-export-pdf:hover { background: rgba(239,83,80,0.1); border-color: #ef5350; color: #ef5350; }

/* Report type selector cards */
.rpt-type-card {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.rpt-type-card:hover {
    border-color: rgba(200,169,81,0.3);
    background: rgba(200,169,81,0.04);
}
.rpt-type-card.active {
    border-color: #C8A951;
    background: rgba(200,169,81,0.1);
    box-shadow: 0 0 0 1px rgba(200,169,81,0.2), 0 6px 24px rgba(200,169,81,0.1);
}
.rpt-type-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(200,169,81,0.08);
    border: 1px solid rgba(200,169,81,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    transition: all 0.22s ease;
}
.rpt-type-card.active .rpt-type-icon,
.rpt-type-card:hover  .rpt-type-icon {
    background: rgba(200,169,81,0.16);
    border-color: #C8A951;
    color: #C8A951;
}
.rpt-type-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    transition: color 0.22s ease;
    line-height: 1.3;
}
.rpt-type-card.active .rpt-type-label,
.rpt-type-card:hover  .rpt-type-label { color: #C8A951; }

/* Date range pills */
.rpt-date-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.rpt-date-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    font-size: 1.35rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.rpt-date-pill:hover { border-color: rgba(200,169,81,0.35); color: #C8A951; }
.rpt-date-pill.active {
    background: rgba(200,169,81,0.12);
    border-color: #C8A951;
    color: #C8A951;
    font-weight: 700;
}
.rpt-date-input {
    width: auto;
    min-width: 150px;
    padding: 8px 12px;
    font-size: 1.4rem;
}

/* Chart cards */
.rpt-chart-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.12);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.rpt-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rpt-chart-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}
.rpt-chart-sub {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.35);
}
.rpt-chart-badge {
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    color: #C8A951;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.rpt-chart-body {
    padding: 20px 20px 16px;
    flex: 1;
    position: relative;
    min-height: 280px;
}
.rpt-chart-body canvas {
    width: 100% !important;
    height: 260px !important;
}

/* Donut chart wrapper + legend */
.rpt-chart-donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.rpt-chart-donut-wrap canvas {
    height: 200px !important;
    max-width: 200px;
}
.rpt-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.rpt-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    color: rgba(255,255,255,0.6);
}
.rpt-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Days-to-convert badge in table */
.rpt-days-badge {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(200,169,81,0.1);
    color: #C8A951;
    border: 1px solid rgba(200,169,81,0.2);
    white-space: nowrap;
}
.rpt-days-open { background: rgba(100,181,246,0.1); color: #64b5f6; border-color: rgba(100,181,246,0.2); }
.rpt-days-lost { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.08); }

/* Responsive */
@media (max-width: 767px) {
    .rpt-chart-body { min-height: 220px; }
    .rpt-chart-body canvas { height: 200px !important; }
    .rpt-chart-donut-wrap canvas { height: 160px !important; }
    .rpt-date-input { min-width: 130px; }
    .rpt-type-label { font-size: 1.2rem; }
}

/* ================================================================
   TASKS PAGE
   ================================================================ */

/* Task name cell – left priority dot + text */
.task-name-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.task-type-dot {
    width: 4px;
    min-height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Sub-text under task name */
.task-table-meta {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.32);
    margin-top: 2px;
}

/* Client / user mini cells */
.task-client-cell,
.task-user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}
.task-client-avatar {
    flex-shrink: 0;
}

/* Due date text */
.task-due {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}
.task-due-today   { color: #C8A951; font-weight: 600; }
.task-due-overdue { color: #ef5350; font-weight: 600; }

/* Priority badges (table) */
.task-priority-badge {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.task-badge-high   { background: rgba(239,83,80,0.13);  color: #ef5350;  border: 1px solid rgba(239,83,80,0.2); }
.task-badge-medium { background: rgba(200,169,81,0.13); color: #C8A951;  border: 1px solid rgba(200,169,81,0.2); }
.task-badge-low    { background: rgba(76,175,80,0.13);  color: #4caf50;  border: 1px solid rgba(76,175,80,0.2); }

/* Status badges (table) */
.task-status-badge {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.task-status-open     { background: rgba(200,169,81,0.12); color: #C8A951;  border: 1px solid rgba(200,169,81,0.22); }
.task-status-progress { background: rgba(100,181,246,0.12); color: #64b5f6; border: 1px solid rgba(100,181,246,0.22); }
.task-status-done     { background: rgba(76,175,80,0.12);  color: #4caf50;  border: 1px solid rgba(76,175,80,0.22); }
.task-status-overdue  { background: rgba(239,83,80,0.12);  color: #ef5350;  border: 1px solid rgba(239,83,80,0.22); }

/* Task type pills (Create Task modal) */
.task-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.task-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,81,0.18);
    color: rgba(255,255,255,0.55);
    font-size: 1.4rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.task-type-pill input[type="radio"] { display: none; }
.task-type-pill:hover {
    border-color: #C8A951;
    color: #C8A951;
    background: rgba(200,169,81,0.07);
}
.task-type-pill:has(input:checked) {
    background: rgba(200,169,81,0.14);
    border-color: #C8A951;
    color: #C8A951;
    font-weight: 700;
}

/* Task detail modal – icon wrap */
.task-detail-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Task detail description */
.task-detail-desc {
    font-size: 1.45rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0;
}

/* Status toggle buttons in detail modal */
.task-status-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.task-status-btn {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    font-size: 1.35rem;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.task-status-btn:hover {
    border-color: #C8A951;
    color: #C8A951;
}
.task-status-btn-active {
    background: rgba(200,169,81,0.14);
    border-color: #C8A951;
    color: #C8A951;
}

/* Detail notes area */
.task-detail-notes { display: flex; flex-direction: column; gap: 10px; }

/* Responsive */
@media (max-width: 767px) {
    .task-table-meta  { display: none; }
    .task-client-cell span,
    .task-user-cell span { display: none; }
    .task-status-controls { flex-direction: column; }
}

/* ================================================================
   CLIENTS PAGE
   ================================================================ */

/* Export button */
.clients-btn-export {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(200,169,81,0.35);
    color: #C8A951;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.22s ease;
    white-space: nowrap;
}
.clients-btn-export:hover {
    background: rgba(200,169,81,0.1);
    border-color: #C8A951;
    color: #C8A951;
}

/* Client "since" sub-text under name */
.client-since {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
    margin-top: 2px;
}

/* Policy count bubble */
.client-policy-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(200,169,81,0.12);
    border: 1px solid rgba(200,169,81,0.25);
    color: #C8A951;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Client ID badge in modal header */
.client-id-badge {
    font-size: 1.2rem;
    background: rgba(200,169,81,0.1);
    border: 1px solid rgba(200,169,81,0.2);
    color: #C8A951;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* ── Policies tab ── */
.client-policy-list { display: flex; flex-direction: column; gap: 10px; }
.client-policy-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 18px;
    transition: background 0.2s;
}
.client-policy-item:hover { background: rgba(200,169,81,0.04); }
.client-policy-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(200,169,81,0.08);
    border: 1px solid rgba(200,169,81,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.client-policy-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}
.client-policy-meta {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.38);
}
.client-policy-renewal {
    font-size: 1.2rem;
    color: rgba(200,169,81,0.7);
    margin-top: 4px;
}

/* ── Documents tab ── */
.client-doc-list { display: flex; flex-direction: column; gap: 10px; }
.client-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 18px;
    transition: background 0.2s;
}
.client-doc-item:hover { background: rgba(200,169,81,0.04); }
.client-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.client-doc-pdf { background: rgba(239,83,80,0.1);  border: 1px solid rgba(239,83,80,0.2); }
.client-doc-img { background: rgba(76,175,80,0.1);  border: 1px solid rgba(76,175,80,0.2); }
.client-doc-name {
    font-size: 1.45rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.client-doc-meta {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
}

/* ── Messages tab ── */
.client-msg-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}
.client-msg-thread::-webkit-scrollbar { width: 4px; }
.client-msg-thread::-webkit-scrollbar-track { background: transparent; }
.client-msg-thread::-webkit-scrollbar-thumb { background: rgba(200,169,81,0.25); border-radius: 4px; }

.client-msg-item {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.client-msg-in  { justify-content: flex-start; }
.client-msg-out { justify-content: flex-end; }

.client-msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(200,169,81,0.15);
    border: 1px solid rgba(200,169,81,0.25);
    color: #C8A951;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.client-msg-avatar-out {
    background: rgba(100,181,246,0.15);
    border-color: rgba(100,181,246,0.25);
    color: #64b5f6;
}
.client-msg-bubble {
    max-width: 68%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px 14px 14px 4px;
    padding: 12px 16px;
}
.client-msg-bubble-out {
    background: rgba(200,169,81,0.1);
    border-color: rgba(200,169,81,0.18);
    border-radius: 14px 14px 4px 14px;
}
.client-msg-sender {
    font-size: 1.2rem;
    font-weight: 700;
    color: #C8A951;
    margin-bottom: 4px;
}
.client-msg-bubble-out .client-msg-sender { color: #64b5f6; }
.client-msg-text {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
    margin-bottom: 6px;
}
.client-msg-time {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.28);
    text-align: right;
}
.client-msg-compose {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Support tab ── */
.client-support-list { display: flex; flex-direction: column; gap: 12px; }
.client-support-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.2s;
}
.client-support-item:hover { background: rgba(200,169,81,0.04); }
.client-support-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.client-support-meta {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.35);
}
.client-support-desc {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
}

/* Responsive */
@media (max-width: 767px) {
    .client-msg-bubble { max-width: 88%; }
    .client-policy-item,
    .client-doc-item { flex-wrap: wrap; }
    .client-since { display: none; }
}

/* ================================================================
   LEADS PAGE
   ================================================================ */

/* Page heading */
.page-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}
.page-subheading {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.38);
}

/* Add Lead button */
.btn-add-lead {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #B89441 0%, #C8A951 50%, #D4B870 100%);
    color: #0a0a0a;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 10px;
    border: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(200,169,81,0.25);
    white-space: nowrap;
}
.btn-add-lead:hover {
    background: linear-gradient(135deg, #C8A951 0%, #D4B870 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200,169,81,0.35);
    color: #000;
}

/* KPI strip */
.leads-kpi-card {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.13);
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
}
.leads-kpi-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #C8A951;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}
.leads-kpi-label {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.text-leads-new       { color: #ef5350; }
.text-leads-contacted { color: #C8A951; }
.text-leads-qualified { color: #4caf50; }

/* Filter bar */
.leads-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.leads-search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.leads-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.leads-search-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.15);
    border-radius: 9px;
    color: #fff;
    font-size: 1.5rem;
    padding: 10px 14px 10px 38px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.leads-search-input::placeholder { color: rgba(255,255,255,0.28); }
.leads-search-input:focus {
    border-color: #C8A951;
    box-shadow: 0 0 0 3px rgba(200,169,81,0.1);
}
.leads-filter-select {
    background: #1a1a1a;
    border: 1px solid rgba(200,169,81,0.15);
    border-radius: 9px;
    color: rgba(255,255,255,0.7);
    font-size: 1.4rem;
    padding: 10px 34px 10px 14px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5z' fill='rgba(200,169,81,0.7)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
    cursor: pointer;
    min-width: 140px;
}
.leads-filter-select:focus { border-color: #C8A951; }
.leads-filter-select option { background: #1a1a1a; color: #fff; }

/* Leads table */
.leads-table {
    border-collapse: collapse;
    width: 100%;
}
.leads-table thead tr th {
    background: rgba(200,169,81,0.07);
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 13px 16px;
    border: none;
    white-space: nowrap;
}
.leads-table thead tr th:first-child { border-radius: 0; }
.leads-table tbody tr td {
    background: transparent;
    color: #fff;
    font-size: 1.45rem;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
.leads-table tbody tr:last-child td { border-bottom: none; }
.leads-table tbody tr:hover td { background: rgba(200,169,81,0.04); }

/* Checkbox */
.leads-check {
    width: 16px;
    height: 16px;
    accent-color: #C8A951;
    cursor: pointer;
}

/* Name cell */
.lead-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lead-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(200,169,81,0.18);
    border: 1px solid rgba(200,169,81,0.3);
    color: #C8A951;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.lead-avatar-b { background: rgba(100,181,246,0.15); border-color: rgba(100,181,246,0.3); color: #64b5f6; }
.lead-avatar-c { background: rgba(129,199,132,0.15); border-color: rgba(129,199,132,0.3); color: #81c784; }
.lead-avatar-d { background: rgba(240,98,146,0.15);  border-color: rgba(240,98,146,0.3);  color: #f06292; }
.lead-avatar-e { background: rgba(255,183,77,0.15);  border-color: rgba(255,183,77,0.3);  color: #ffb74d; }
.lead-avatar-f { background: rgba(186,104,200,0.15); border-color: rgba(186,104,200,0.3); color: #ba68c8; }
.lead-avatar-g { background: rgba(77,208,225,0.15);  border-color: rgba(77,208,225,0.3);  color: #4dd0e1; }

.lead-name  { font-size: 1.5rem; font-weight: 600; color: #fff; }
.lead-email { font-size: 1.4rem; color: rgba(255,255,255,0.55); }
.lead-phone { font-size: 1.4rem; color: rgba(255,255,255,0.55); white-space: nowrap; }
.lead-agent { font-size: 1.4rem; color: rgba(255,255,255,0.7);  }
.lead-followup { font-size: 1.4rem; color: rgba(255,255,255,0.5); white-space: nowrap; }

/* Converted / Lost status badges */
.status-converted {
    background: rgba(100,181,246,0.12);
    color: #64b5f6;
    border: 1px solid rgba(100,181,246,0.22);
}
.status-lost {
    background: rgba(239,83,80,0.1);
    color: rgba(239,83,80,0.7);
    border: 1px solid rgba(239,83,80,0.15);
}

/* Row action buttons */
.lead-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lead-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.lead-action-btn:hover       { border-color: #C8A951; color: #C8A951; background: rgba(200,169,81,0.08); }
.lead-action-edit:hover      { border-color: #64b5f6; color: #64b5f6; background: rgba(100,181,246,0.08); }
.lead-action-delete:hover    { border-color: #ef5350; color: #ef5350; background: rgba(239,83,80,0.08); }

/* Pagination row */
.leads-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.leads-pagination-info {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.35);
}
.leads-pagination .pagination { gap: 4px; }
.leads-pagination .page-link {
    background: #1a1a1a;
    border-color: rgba(200,169,81,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    border-radius: 8px !important;
    padding: 6px 13px;
    transition: all 0.2s;
}
.leads-pagination .page-link:hover {
    background: rgba(200,169,81,0.1);
    border-color: #C8A951;
    color: #C8A951;
}
.leads-pagination .page-item.active .page-link {
    background: #C8A951;
    border-color: #C8A951;
    color: #000;
    font-weight: 700;
}
.leads-pagination .page-item.disabled .page-link {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Modals ── */
.leads-modal-content {
    background: #141414;
    border: 1px solid rgba(200,169,81,0.18);
    border-radius: 16px;
    color: #fff;
    overflow: hidden;
}
.leads-modal-header {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.leads-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.leads-modal-sub {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.38);
}
.leads-modal-body {
    padding: 28px;
    background: #141414;
}
.leads-modal-footer {
    background: #1a1a1a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form elements inside modals */
.leads-form-label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.leads-form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,169,81,0.18);
    border-radius: 9px;
    color: #fff;
    font-size: 1.5rem;
    padding: 11px 14px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    font-family: inherit;
}
.leads-form-input::placeholder { color: rgba(255,255,255,0.22); }
.leads-form-input:focus {
    background: rgba(200,169,81,0.05);
    border-color: #C8A951;
    box-shadow: 0 0 0 3px rgba(200,169,81,0.1);
}
.leads-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5z' fill='rgba(200,169,81,0.7)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}
.leads-form-select option { background: #1a1a1a; color: #fff; }
.leads-form-textarea { resize: vertical; min-height: 80px; }

/* Modal buttons */
.leads-btn-cancel {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 9px;
    transition: all 0.2s;
}
.leads-btn-cancel:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.leads-btn-save {
    background: linear-gradient(135deg, #B89441 0%, #C8A951 60%, #D4B870 100%);
    border: none;
    color: #0a0a0a;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 9px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(200,169,81,0.25);
}
.leads-btn-save:hover {
    background: linear-gradient(135deg, #C8A951 0%, #D4B870 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200,169,81,0.35);
    color: #000;
}

/* Lead detail modal – avatar (larger) */
.lead-detail-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    border-radius: 14px;
}
.lead-detail-meta {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.45);
}

/* Detail modal tabs */
.leads-detail-tabs {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 28px;
}
.leads-tab-nav {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.leads-tab-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255,255,255,0.4);
    font-size: 1.45rem;
    font-weight: 600;
    padding: 14px 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.leads-tab-btn:hover { color: rgba(255,255,255,0.75); }
.leads-tab-btn.active {
    color: #C8A951;
    border-bottom-color: #C8A951;
}

/* Detail overview grid */
.lead-detail-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.lead-detail-grid { display: flex; flex-direction: column; gap: 0; }
.lead-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
}
.lead-detail-row:last-child { border-bottom: none; }
.lead-detail-label {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.38);
    flex-shrink: 0;
}
.lead-detail-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
}

/* Notes tab */
.lead-notes-list { display: flex; flex-direction: column; gap: 12px; }
.lead-note-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid #C8A951;
    border-radius: 10px;
    padding: 16px 18px;
}
.lead-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}
.lead-note-author {
    font-size: 1.4rem;
    font-weight: 700;
    color: #C8A951;
}
.lead-note-date {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.35);
}
.lead-note-body {
    font-size: 1.45rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Add-task / add-note bar */
.lead-tab-action-bar {
    background: rgba(200,169,81,0.04);
    border: 1px solid rgba(200,169,81,0.12);
    border-radius: 12px;
    padding: 18px;
}

/* Responsive */
@media (max-width: 767px) {
    .leads-filter-bar { flex-direction: column; }
    .leads-search-wrap { min-width: 100%; }
    .leads-filter-select { width: 100%; }
    .leads-modal-header,
    .leads-modal-body,
    .leads-modal-footer { padding: 18px; }
    .leads-detail-tabs { padding: 0 14px; }
    .leads-tab-btn { font-size: 1.3rem; padding: 12px 10px; }
    .lead-email,
    .lead-phone { display: none; }
}

/* ══════════════════════════════════════════════
   PORTAL HEADER
══════════════════════════════════════════════ */
.portal-header {
    border-bottom: 1px solid rgba(200,169,81,0.12);
    box-shadow: 0 2px 24px rgba(0,0,0,0.35);
    min-height: 68px;
}
.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.portal-logo {
    height: 52px;
}
.portal-badge {
    display: inline-block;
    background: rgba(200,169,81,0.12);
    border: 1px solid rgba(200,169,81,0.28);
    color: #C8A951;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Search */
.portal-search-wrap { align-items: center; }
.portal-search-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}
.portal-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.portal-search-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1.4rem;
    font-family: inherit;
    padding: 9px 70px 9px 40px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.portal-search-input::placeholder { color: rgba(255,255,255,0.28); }
.portal-search-input:focus {
    border-color: rgba(200,169,81,0.4);
    background: rgba(200,169,81,0.04);
}
.portal-search-kbd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: rgba(255,255,255,0.28);
    font-size: 1.1rem;
    padding: 1px 6px;
    pointer-events: none;
}

/* Icon buttons (bell, hamburger) */
.portal-icon-btn {
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    position: relative;
    transition: background 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portal-icon-btn:hover { background: rgba(255,255,255,0.07); }

/* Notification badge */
.portal-notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #e53935;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    line-height: 1;
}

/* Notifications panel */
.portal-notif-panel {
    width: 360px;
    background: #101922;
    border: 1px solid rgba(200,169,81,0.15);
    border-radius: 14px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.6);
    padding: 0;
    margin-top: 10px;
    overflow: hidden;
}
.portal-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.portal-notif-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.portal-notif-markall {
    font-size: 1.2rem;
    color: #C8A951;
    text-decoration: none;
}
.portal-notif-markall:hover { text-decoration: underline; }

.portal-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    transition: background 0.15s;
    cursor: pointer;
}
.portal-notif-item:last-child { border-bottom: none; }
.portal-notif-item:hover { background: rgba(255,255,255,0.03); }
.portal-notif-unread { background: rgba(200,169,81,0.04); }

.portal-notif-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.portal-notif-icon-lead    { background: rgba(100,181,246,0.15); color: #64b5f6; }
.portal-notif-icon-renewal { background: rgba(200,169,81,0.15);  color: #C8A951; }
.portal-notif-icon-task    { background: rgba(129,199,132,0.15); color: #81c784; }
.portal-notif-icon-msg     { background: rgba(206,147,216,0.15); color: #ce93d8; }

.portal-notif-body { flex: 1; min-width: 0; }
.portal-notif-msg {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.portal-notif-msg strong { color: #fff; font-weight: 600; }
.portal-notif-time {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}
.portal-notif-dot-inline {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C8A951;
    flex-shrink: 0;
    margin-top: 6px;
}
.portal-notif-footer {
    padding: 11px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.portal-notif-viewall {
    font-size: 1.3rem;
    color: #C8A951;
    text-decoration: none;
    font-weight: 600;
}
.portal-notif-viewall:hover { text-decoration: underline; }

/* Divider */
.portal-nav-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    margin: 0 4px;
}

/* User profile button */
.portal-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background 0.18s;
}
.portal-user-btn:hover { background: rgba(255,255,255,0.06); }
.portal-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200,169,81,0.3);
}
.portal-user-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}
.portal-user-role {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════
   PROFILE SETTINGS PAGE
══════════════════════════════════════════════ */
.portal-settings-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(200,169,81,0.09);
    border: 1px solid rgba(200,169,81,0.22);
    color: rgba(200,169,81,0.85);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.prof-agency-name {
    font-size: 1.3rem;
    color: rgba(200,169,81,0.7);
    margin-top: 2px;
}

/* Quick links in sidebar card */
.prof-quick-links { display: flex; flex-direction: column; gap: 4px; }
.prof-quick-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.65);
    font-size: 1.4rem;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.prof-quick-link:hover {
    background: rgba(200,169,81,0.08);
    color: #C8A951;
}
.prof-quick-link svg { flex-shrink: 0; }

/* Settings form extras */
.settings-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5z' fill='rgba(200,169,81,0.7)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}
.settings-select option { background: #1a1a1a; color: #fff; }
.settings-textarea { resize: vertical; min-height: 80px; }
.settings-hint {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
    margin-top: 5px;
}

/* Notification preferences table */
.settings-notif-table {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
}
.settings-notif-header {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    gap: 0;
    padding: 10px 18px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
}
.settings-notif-row {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
}
.settings-notif-row:hover { background: rgba(255,255,255,0.02); }
.settings-notif-last { border-bottom: none; }
.settings-notif-event { flex: 1; }
.settings-notif-col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
}
.settings-notif-event-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.settings-notif-event-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

/* Active sessions */
.settings-sessions { }
.settings-sessions-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.settings-session-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 8px;
}
.settings-session-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.settings-session-info { flex: 1; min-width: 0; }
.settings-session-device {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.settings-session-meta {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}
.settings-session-current {
    font-size: 1.2rem;
    font-weight: 600;
    color: #81c784;
    background: rgba(129,199,132,0.12);
    border: 1px solid rgba(129,199,132,0.22);
    padding: 3px 10px;
    border-radius: 20px;
}
.settings-session-revoke {
    background: transparent;
    border: 1px solid rgba(229,57,53,0.3);
    color: rgba(229,57,53,0.75);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s;
}
.settings-session-revoke:hover {
    background: rgba(229,57,53,0.1);
    border-color: rgba(229,57,53,0.6);
    color: #e53935;
}

/* ══════════════════════════════════════════════
   SUB-ADMINS PAGE
══════════════════════════════════════════════ */

/* Avatar circle */
.sa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}
.lead-detail-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
}
.sa-avatar-a { background: rgba(100,181,246,0.18); color: #64b5f6; }
.sa-avatar-b { background: rgba(200,169,81,0.18);  color: #C8A951; }
.sa-avatar-c { background: rgba(129,199,132,0.18); color: #81c784; }
.sa-avatar-d { background: rgba(206,147,216,0.18); color: #ce93d8; }
.sa-avatar-e { background: rgba(255,183,77,0.18);  color: #ffb74d; }
.sa-avatar-f { background: rgba(77,208,225,0.18);  color: #4dd0e1; }
.sa-avatar-g { background: rgba(240,98,146,0.18);  color: #f06292; }
.sa-avatar-h { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.3); }
.sa-avatar-inactive { filter: grayscale(1); }

/* Role badges */
.sa-role-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.sa-role-senior  { background: rgba(200,169,81,0.15); color: #C8A951; border: 1px solid rgba(200,169,81,0.3); }
.sa-role-advisor { background: rgba(100,181,246,0.13); color: #64b5f6; border: 1px solid rgba(100,181,246,0.25); }
.sa-role-support { background: rgba(129,199,132,0.13); color: #81c784; border: 1px solid rgba(129,199,132,0.25); }
.sa-role-admin   { background: rgba(240,98,146,0.13);  color: #f06292; border: 1px solid rgba(240,98,146,0.25); }

/* Permissions grid */
.sa-permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.sa-perm-group {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 16px;
}
.sa-perm-group-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(200,169,81,0.8);
    margin-bottom: 12px;
}
.sa-perm-list { display: flex; flex-direction: column; gap: 10px; }
.sa-perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sa-perm-label {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.75);
}

/* Toggle for invite / permission switches */
.sa-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 4px;
}
.sa-toggle-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.sa-toggle-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.38);
    margin-top: 1px;
}

/* Activity log */
.sa-activity-log {
    display: flex;
    flex-direction: column;
}
.sa-log-item {
    display: grid;
    grid-template-columns: 14px 20px 1fr;
    gap: 0 12px;
    align-items: start;
    padding-bottom: 6px;
}
.sa-log-last { padding-bottom: 0; }
.sa-log-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}
.sa-log-dot-login  { background: #64b5f6; box-shadow: 0 0 6px rgba(100,181,246,0.5); }
.sa-log-dot-action { background: rgba(200,169,81,0.7); box-shadow: 0 0 6px rgba(200,169,81,0.3); }
.sa-log-line {
    width: 1px;
    background: rgba(255,255,255,0.08);
    margin: 14px auto 0;
    align-self: stretch;
}
.sa-log-last .sa-log-line { display: none; }
.sa-log-content { padding-bottom: 18px; }
.sa-log-title {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.sa-log-meta {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

/* Performance stat cards inside modal */
.sa-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
}
.sa-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    line-height: 1;
}
.sa-stat-label {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    margin-top: 5px;
}