.top-main {
    background: #faf9f3;
    margin-top: -2px;
    padding-bottom: 1px;
    margin-right: 340px;
}

.navbar-expand-md {
    display: none;
}

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

body {
    font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
        "Noto Nastaliq Urdu", serif !important;
    background-color: #faf9f3 !important;
    direction: rtl;
    min-height: 100vh;
}

/* ==================== TOP BANNER ==================== */
.top-banner {
  background: #2A5F45;
  color: white;
  padding: 2px 40px;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Social Icons Section */
.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons {
  display: flex;
  padding-top: 4px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.social-icon img {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.divider {
  display: inline-block;
  width: 1px;       
  height: 26px;          
  background-color: #ffffff;   
  vertical-align: middle;
  border-radius: 1px;  
}

.bar-divider {
  border: 0.5px solid #817d7d;
  height: 65px; 
  opacity: 0.15;
}

.hijri-date {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif;
  font-size: 15px; 
  letter-spacing: 1.5px; 
  gap: 3px;
  font-weight: 500;
}

/* Center Banner Text */
.banner-center {
    flex: 1;
    flex-grow: 1; 
    font-family: 'Arabic Typesetting', 'Amiri', serif;
    font-size: 26px;
    direction: rtl;
    line-height: 16px;
    letter-spacing: -0.26px;
    font-weight: 400;
    margin-top: 6px;
}

.banner-subtitle {
  font-size: 15px;
}

/* Right Side Links */
.banner-right {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif;
}

.banner-right a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.banner-right a:hover {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.banner-left-mob {
display: none;
}

/* ==================== MAIN HEADER ==================== */
.main-header {
  background-color: #faf9f3;
  box-shadow: 0 1px 20px rgba(225, 215, 215, 1);
  padding: 10px 40px;
  position: fixed;
  top: 42px; /* Height of top-banner */
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

/* Add padding to body to prevent content from going under fixed headers */
body {
  padding-top: 130px; /* Adjust based on combined height of both headers */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 20px;
}

/* Logo */
.logo {
  text-align: right;
  flex-shrink: 0;
}

.logo h1 {
  font-size: 32px;
  font-weight: 700;
  color: #6b9968;
  line-height: 1.2;
  margin-bottom: 2px;
}

.logo p {
  font-size: 13px;
  color: #6b9968;
  letter-spacing: 2px;
  font-family: Arial, sans-serif;
  font-weight: 500;
}

.logo img {
  height: 32px; 
  margin-bottom: 2px;
}

.profile-img {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.profile-img img {
  border: 2px solid #2A5F45;
  border-radius: 50%;
  height: 52px;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 380px;
  position: relative;
  margin-top: 10px;
}

.search-box {
  width: 100%;
  padding: 8px 20px 8px 16px;
  border: 1px solid #E8E7E7;
  border-radius: 8px;
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
}

.search-box:focus {
  outline: none;
  border-color: #2A5F45;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(107, 153, 104, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 40%;
  transform: translateY(-50%);
  color: #414141;
  pointer-events: none;
}

/* Language & Globe Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.language-text {
  font-size: 20px;
  font-weight: 500;
  color: #414141;
}

.globe-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: #414141;
}

.globe-icon:hover {
  background-color: #f3f4f6;
}

/* Hamburger Menu */
.hamburger {
  /* display: none; */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-logo {
width: 100%;
display: flex;
align-items: center;
gap: 30px;
}

.search-container-language {
width: 100%;
display: flex;
margin-right: 20%;
gap: 30px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media screen and (max-width: 1200px) {
  .search-container-language {
    margin-right: 4%;
  }
}

/* Tablet (992px and below) */
@media screen and (max-width: 992px) {
  .search-container-language {
    margin-right: 10%;
  }

  .banner-center {
      font-size: 13px;
  }

  .logo h1 {
      font-size: 28px;
  }

  .search-container {
      max-width: 400px;
  }

}

/* Mobile (768px and below) */
@media screen and (max-width: 768px) {

  .banner-left-mob {
    display: block;
  }

  .search-container-language {
    margin-right: -1%;
  }

  .top-banner {
      padding: 0px 16px;
      font-size: 12px;
  }

  .main-header {
      top: 38px; /* Adjusted for smaller top-banner */
  }

  body {
      padding-top: 160px; /* Adjusted for mobile header height */
  }

  .banner-container {
      flex-wrap: wrap;
  }

  .banner-center, .banner-left {
      display: none;
  }

  .social-icons {
      display: none;
  }

  .banner-left {
      width: 100%;
      justify-content: space-between;
  }

  .main-header {
      padding: 12px 16px;
  }

  .header-container {
      flex-wrap: wrap;
      gap: 4px;
  }

  .hamburger {
      display: flex;
      order: -1;
  }

  .logo {
      order: 0;
      margin-top: 10px;
  }

  .logo h1 {
      font-size: 24px;
  }

  .logo p {
      font-size: 11px;
  }

  .search-container {
      order: 2;
      width: 100%;
      max-width: 100%;
  }

  .search-box {
      padding: 8px 20px 8px 16px;
      font-size: 14px;
  }

  .header-right {
      order: 1;
      margin-right: auto;
  }

  .language-selector {
      padding: 6px 10px;
  }

  .language-text {
      font-size: 14px;
  }

  .globe-icon {
      width: 28px;
      height: 28px;
  }

  .social-icon {
      width: 26px;
      height: 26px;
  }

  .social-icon img {
      width: 13px;
      height: 13px;
  }

  .divider, .bar-divider {
    display: none;
  }
  
  .search-container-language .search-container {
    order: 1;
  }

  .hamburger-logo .hamburger {
    order: 1;
  }

  .hamburger-logo {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .search-icon {
    top: 50%;
  }

  .header-right {
    margin-top: 10px
  }

  .top-main {
    /* margin-top: 6px; */
  }

  .hero-img img {
    min-height: 200px;
    object-fit: fill;
  }

  .hero-banner-main {
      width: 100vw !important;
      margin-left: calc(-50vw + 50%);
      margin-right: calc(-50vw + 50%);
  }
}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
  .top-banner {
      padding: 0px 12px;
  }

  .top-main {
    /* margin-top: 13px; */
  }

  .main-header {
      top: 34px; /* Adjusted for smaller top-banner */
  }

  body {
      padding-top: 150px; /* Adjusted for small mobile */
  }

  .hijri-date {
      font-size: 16px;
  }

  .social-icon {
      width: 24px;
      height: 24px;
  }

  .social-icon img {
      width: 12px;
      height: 12px;
  }

  .logo h1 {
      font-size: 22px;
  }

  .logo p {
      font-size: 10px;
  }

  .search-box {
      font-size: 13px;
      padding: 9px 10px 9px 14px;
  }

  .search-icon {
    top: 50%;
  }

  .banner-right {
    font-size: 14px;
  }
}

/* ============================
     HERO SECTION (BOOTSTRAP-CLEANED)
     ============================ */

.image-box {
    position: relative;
    width: 100%;
}

/* main hero image container */
.hero-img {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
}

/* subtle right-side light gradient overlay */
.hero-img::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1700px;
    height: 100%;
    /* background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 59%,
        rgba(255, 255, 255, 0.8) 100%
    ); */
    pointer-events: none;
}

/* caption text + button container */
.caption {
    position: absolute;
    bottom: 30%;
    right: 20px;
    color: #414141;
    padding: 10px 50px;
    border-radius: 8px;
    direction: rtl;
    text-align: right;
}

/* hero heading */
.caption h1 {
    font-size: 54px;
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    max-width: 320px;
}

/* button styling */
.hero-btn {
    background: rgba(42, 95, 69, 1);
    color: #fff;
    padding: 8px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #406635;
    color: #ffffff;
    transform: translateY(-2px);
}

/* icon inside button */
.caption-img {
    margin-right: 4px;
    margin-bottom: 4px;
    height: 20px;
    width: 20px;
}

.caption-img-success {
  margin-right: 10px;
  margin-bottom: 20px;
  height: 50px;
  width: 50px;
}

/* ============================
     RESPONSIVE ADJUSTMENTS
     ============================ */

/* Large Tablets / Medium Screens (max-width: 1199px) */
@media (max-width: 1199px) {
    .caption {
        bottom: 35%;
        padding: 10px 40px;
    }
    .caption h1 {
        font-size: 44px;
    }
}

/* Tablets and Landscape Phones (max-width: 992px) */
@media (max-width: 992px) {
    .caption {
        bottom: 40%;
        right: 10px;
        padding: 8px 20px;
    }
    .caption h1 {
        font-size: 20px;
        margin-bottom: 10px !important;
    }
    .hero-btn {
        padding: 2px 5px;
        font-size: 12px;
    }
    .caption-img {
        height: 16px;
        width: 16px;
        margin-bottom: 2px;
    }
    .hero-img img {
        object-position: center bottom;
    }
    .hero-img::after {
        width: 100%;
        /* background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 100%
        ); */
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .caption {
        bottom: 25%;
        right: 10px;
        padding: 8px 20px;
    }
    .caption h1 {
        font-size: 18px;
        margin-bottom: 10px !important;
    }
    .hero-btn {
        padding: 2px 5px;
        font-size: 10px;
    }
    .caption-img {
        height: 16px;
        width: 16px;
        margin-bottom: 2px;
    }
    .hero-img::after {
        width: 100%;
        /* background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 100%
        ); */
    }
}

/* ============================
     INFO CARD (CLEANED + RESPONSIVE)
     ============================ */

.info-card {
    background-size: cover;
    background-position: center;
    border: 1px solid #2A5F45 !important;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    direction: rtl;
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    color: #333;
    line-height: 1.7;
    margin-top: 40px;
}

/* header text */
.top-text {
    font-weight: normal;
    margin-bottom: 18px; 
    text-align:center; 
    color:#555555; 
    font-size: 22px;
}

/* bullet points (inline style) */
.points-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
}

.info-card-points-list {
    font-size: 22px;
    color: #555555;
}

.info-card-span {
    color: #406635;
    font-weight: bold;
    margin: 0 4px;
}

/* paragraph block */
.para-text {
    font-size: 22px;
    color: #555555;
    line-height: 42px;
    text-align: right !important;
}

.info-card-para-text {
    color: #548047;
    font-weight: 600;
}

/* quranic section */
.quranic {
    background: #f8f9f7;
    border-right: 4px solid #548047;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.quranic-main {
    font-size: 22px;
    color: #555555;
    text-align: right !important;
}

.quranic-text {
    font-family:'AlQalam Telenor', serif;
    color: #555555;
    font-weight: 700;
    font-size: 22px;
}

/* Buttons */
.primary-btn,
.secondary-btn {
    border-radius: 40px;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #548047;
    color: #fff;
}

.primary-btn:hover {
    background: #406635;
    color: #fff;
    transform: translateY(-5px);
}

.secondary-btn {
    background: #ffffff;
    color: #888888;
    border: 1px solid #888888;
}

.secondary-btn:hover {
    color: #888888;
    transform: translateY(-5px);
}

/* ============================
     RESPONSIVE ADJUSTMENTS
     ============================ */

@media (max-width: 992px) {
    .top-text, .info-card-points-list, .para-text, .quranic-main {
        font-size: 18px;
    }
    .quranic-main {
        font-size: 16px;
    }
    .features-grid-main {
      margin-right: 10px !important;
      margin-left: 10px !important;
      margin-top: -2px !important;
    }
}

@media (max-width: 576px) {
    .info-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    .top-text, .info-card-points-list, .para-text, .quranic-main {
      font-size: 15px;
    }
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .primary-btn,
    .secondary-btn {
        justify-content: center;
    }
}

/* === FEATURES GRID SECTION === */

.features-grid {
    position: relative;
    text-align: center;
    direction: rtl;
}

.features-grid .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.grid-bottom-shadow {
    margin-top: 12px;
    margin-bottom: -9px;
    height: 11px !important;
}

.homepage-feature-img {
    width: 70px;
    height: 70px;
}

a.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
    text-decoration: none;
}

.feature-card-title {
    font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", serif;
    color: #2A5F45;
    font-size: 20px !important;
    min-height: 50px;
}

/* Grid gap & responsiveness */
@media (max-width: 767.98px) {
    .features-grid .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.pre-footer-section {
    background-color: #faf9f3 !important; 
    border-top: 1px solid #ddd;
    margin: 0 auto;

}

.pre-footer-section h4 {
    color: #414141;
    font-weight: 600;
    font-size: 1.1rem;
}

.pre-footer-section a:hover {
    color: #2A5F45 !important;
}

.pre-footer-section input::placeholder, .search-container input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.search-box::placeholder {
    color: #B6B7B6 !important;
    font-size: 18px;
}

.pre-footer-section .btn-success {
    background-color: #2A5F45;
    border-color: #2A5F45;
}

.pre-footer-section .btn-success:hover {
    background-color: #4b6a31;
    border-color: #4b6a31;
}

.list-links, .list-links li a, .list-links p a {
  color: #888888;
}

.list-links p a {
  font-family: 'Inter', sans-serif;
  font-weight: 300; 
  font-size: 14px
}

.text-subscribe {
  color: #414141;
}

.semi-rounded-pill {
  border-radius: 10px !important;
}

.send-icon {
  height: 20px;
  width: 20px;
  /* position: absolute; */
}

.footer-social-icons img {
  height: 40px;
  width: 40px;
}

.custom-footer {
  background: #2A5F45 !important;
  color: #ffffff;
  font-family: "Inter Regular", sans-serif;
}

.custom-footer a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.custom-footer a:hover {
  color: #ffffff;
}

.custom-footer .footer-meta {
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 767.98px) {
    .pre-footer-section {
        text-align: right;
    }

    .pre-footer-section h4 {
        text-align: right;
    }

    .pre-footer-section .form-control {
        font-size: 0.9rem;
    }

    .pre-footer-section .d-flex {
        flex-wrap: nowrap;
    }

    .for-mobile {
      display: block !important;
    }

    .for-desktop {
      display: none !important;
    }
}

.for-desktop {
  display: block;
}

.for-mobile {
  display: none;
}

.form-label, form-label.span {
  color: rgba(42, 95, 69, 1) !important;
}

.form-control::placeholder {
  color: #B6B7B6 !important;
}

.form-control:focus {
  border-color: rgba(42, 95, 69, 1) !important;
  box-shadow: 0 0 0 .25rem rgba(75, 124, 61, 0.251) !important;
}

@media (max-width: 576px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .footer-links {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* Modal Overlay */
.modal-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Container */
.form-container {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideUp 0.4s ease-out;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.login-form-container {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  max-width: 450px !important;
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.form-inner {
  padding: 10px 30px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #1f2937;
}

/* Header */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 22px;
  font-weight: 600;
  color: rgba(116, 116, 116, 1);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.form-title-success {
  font-size: 22px;
  font-weight: 600;
  color: rgba(116, 116, 116, 1);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* Form Labels */
.form-label {
  font-size: 20px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
  text-align: right;
  display: block;
}

.required {
  color: #2A5F45;
  margin-right: 4px;
}

/* Form Controls */
.form-control {
  padding: 10px 20px !important;
  font-size: 15px;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  color: #1f2937;
  background: #ffffff;
  border: 1.5px solid #E8E7E7 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
  height: auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
  font-size: 15px;
}

/* Select Dropdown */
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center;
  padding-left: 45px;
}

/* Form Group Spacing */
.form-group {
  margin-bottom: 30px;
}

/* Submit Button */
.submit-btn {
  background: rgba(42, 95, 69, 1);
  color: #ffffff;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(90, 122, 74, 0.3);
}

.submit-btn:hover {
  background: #4a6a3a;
  box-shadow: 0 6px 16px rgba(90, 122, 74, 0.4);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

/* Back Button */
.back-btn {
  background: #ffffff;
  color: #888888;
  font-family: "Jameel Noori Nastaleeq", "JameelNooriNastaleeq", "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.4);
}

.back-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.4);
  transform: translateY(-2px);
}

.back-btn:active {
  transform: translateY(0);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

.btn-container {
  text-align: left;
  margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .form-inner {
      padding: 40px 40px;
  }

  .form-title {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .form-inner {
      padding: 35px 30px;
  }

  .form-container {
      border-radius: 20px;
  }

  .form-title {
      font-size: 32px;
      margin-bottom: 35px;
  }

  .form-label {
      font-size: 18px;
  }

  .btn-container {
      text-align: center;
  }

  .submit-btn {
      width: 100%;
      justify-content: center;
  }

  .menu-section {
      top: 158px !important;
  }
}

@media (max-width: 576px) {
  body {
      padding: 0px;
  }

  .top-main {
    /* margin-top: 157px; */
    margin-left: 20px;
    margin-right: 20px;
  }

  /* .login-form-container {
    margin-top: 210px !important;
  } */

  .form-inner {
      padding: 25px 20px;
  }

  .form-container {
      border-radius: 16px;
  }

  .close-btn {
      top: 15px;
      left: 15px;
      font-size: 24px;
  }

  .form-title {
      font-size: 26px;
      margin-bottom: 30px;
  }

  .form-header {
      margin-bottom: 30px;
  }

  .form-control {
      padding: 14px 16px;
      font-size: 15px;
  }

  .form-label {
      font-size: 16px;
      margin-bottom: 10px;
  }

  .form-group {
      margin-bottom: 25px;
  }

  .submit-btn {
      font-size: 16px;
      padding: 14px 32px;
  }
}

/* Menu Section */
.menu-section {
  position: fixed;
  top: 127px;
  bottom: 0;
  right: 0;
  width: 340px;
  background-color: #FFFFFF;
  padding: 0;
  display: none;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-section.show {
  display: block;
}

.menu-category {
  border-bottom: 1px solid #E8E8E8;
}

.logo-border-bottom {
  border-bottom: 1px solid #E8E8E8;
}

.menu-category-header {
  padding: 10px 30px;
  background-color: #FAFAFA;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.menu-category-header:hover {
  background-color: #F5F5F5;
}

.menu-category-title {
  font-size: 18px;
  font-weight: 400;
  color: #414141;
  margin: 0;
}

.menu-category-title.active {
    color: #2A5F45;
}

.menu-category-arrow.rotated svg path {
    stroke: #2A5F45;
}

.menu-category-arrow {
  transition: transform 0.3s ease;
}

.menu-category-arrow.rotated {
  transform: rotate(90deg);
}

.menu-items {
  background-color: #FFFFFF;
  display: none;
}

.menu-items.show {
  display: block;
}

.menu-item {
  padding: 10px 30px;
  border-bottom: 1px solid #F0F0F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.user-panel-menu-item {
  padding: 10px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
}

.user-panel-menu-item::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 1px;
  background-color: #F0F0F0;
}

.user-panel-menu-item:last-child::after {
  height: 0;
}

.user-panel-menu-section {
  max-width: 350px !important;
  border-top: 1px solid #F0F0F0;
  border-left: 1px solid #F0F0F0;
  position: fixed;
  right: 0;
  height: calc(100vh - 72px);
  width: 350px;
  background-color: #FFFFFF;
  /* z-index: 9999; */
  top: 72px;
  overflow: hidden;
}

.user-panel-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.user-panel-menu-category {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.user-panel-header-right-logo {
  display: block;
  padding-right: 24px;
}

.user-panel-menu-logo {
  display: none;
}

.user-panel-header-right-logo img {
  height: 40px;
  width: 170px;
}

.user-panel-hamburger {
  padding-left: 24px !important;
}

.menu-item:hover, .user-panel-menu-item:hover {
  background-color: #F9F9F9;
}

.menu-item:last-child, .user-panel-menu-item:last-child {
  border-bottom: none;
}

.menu-item-text {
  font-size: 18px;
  font-weight: 500;
  color: #888888;
  margin: 0;
}

.user-panel-menu-item-text {
  font-size: 18px;
  font-weight: 500;
  color: #888888;
  margin: 0;
  text-align: right;
}

.menu-item-icon {
  margin-left: 6px;
  margin-top: 3px;
}

.user-panel-menu-item-icon {
  color: #2A5F45;
  margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-urdu {
      font-size: 30px;
  }

  .logo-english {
      font-size: 12px;
  }

  .menu-category-title {
      font-size: 20px;
  }

  .menu-item-text {
      font-size: 18px;
  }

  .menu-category-header {
      padding: 10px 20px;
  }

  .menu-item, .user-panel-menu-item {
      padding: 16px 20px;
  }

  .menu-section {
    width: 100%;
  }

  .user-panel-header-right-logo {
    padding-right: 2px;
  }

  .user-panel-header-right-logo img {
    margin-top: 10px;
    height: 30px;
    width: 120px;
  }
}

@media (max-width: 480px) {
  .logo-urdu {
      font-size: 26px;
  }

  .logo-english {
      font-size: 11px;
  }

  .menu-category-title {
      font-size: 18px;
  }

  .menu-item-text {
      font-size: 16px;
  }
}

/* 🔹 Close Button */
.menu-close {
  position: absolute;
  top: 15px;
  left: 20px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.menu-close:hover {
  transform: scale(1.1);
}

.form-menu-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.form-menu-close:hover {
  transform: scale(1.1);
}

.menu-logo {
  padding: 10px 20px 30px 20px;
  text-align: center;
}

.user-panel-menu-logo {
  padding: 19px 20px 18px 20px;
  text-align: center;
}

.menu-logo img, .user-panel-menu-logo img {
  height: 32px; 
  margin-bottom: 2px;
}

.custom-forms {
  padding: 40px !important;
}

.hidden {
  display: none;
}

.form-inner {
  border-radius: 23px !important;
}

/* Progress Bar Container */
.progress-bar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

.progress-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #D9D9D9;
  z-index: 1;
  margin-left: 25px;
  margin-right: 25px;
}

.progress-line-fill {
  position: absolute;
  top: 18px;
  left: 0;
  height: 5px;
  background-color: #2A5F45;
  z-index: 2;
  transition: width 0.5s ease;
  margin-left: 25px;
  margin-right: 25px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
}

.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.progress-circle.completed {
  background-color: #2A5F45;
  border-color: #2A5F45;
}

.progress-circle.completed::after {
  content: '✓';
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-right: 8px;
  margin-top: 4px;
}

.progress-circle.active {
  border-color: #2A5F45;
  border-width: 3px;
}

.progress-label {
  font-size: 15px;
  color: #A2A2A2;
  text-align: center;
  white-space: nowrap;
}

.progress-label.active {
  color: #2A5F45;
  font-weight: 600;
}

/* Form Container */
.form-container {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  max-width: 1000px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Form Labels & Inputs */
.form-group label {
  font-size: 18px;
  font-weight: 500;
  color: #2c3e50;
  line-height: 16px;
  margin-bottom: 10px;
}

.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  height: auto;
}

.form-control::placeholder {
  color: #B6B7B6;
}

textarea.form-control {
  resize: vertical;
}

/* Button Styling */
.btn-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.btn-container-steps-form {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
}

.btn-prev {
  background-color: #6c757d;
  color: white;
}

.btn-prev:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .form-container {
      padding: 24px;
  }
  
  .progress-label {
      font-size: 11px;
  }
  
  .progress-circle {
      width: 32px;
      height: 32px;
  }
  
  .form-title {
      font-size: 22px;
  }
  
  .btn-container, .btn-container-steps-form {
      flex-direction: column;
      flex-direction: column-reverse;
      gap: 10px;
  }
}

.form-check-custom {
  margin: 15px 0;
}

.checkbox-input {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 18px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover {
  border-color: #2A5F45;
  box-shadow: 0 2px 8px rgba(74, 157, 95, 0.1);
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-icon {
  width: 14px;
  height: 14px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkbox-input:checked + .checkbox-label .checkbox-box {
  background-color: #2A5F45;
  border-color: #2A5F45;
}

.checkbox-input:checked + .checkbox-label .checkbox-icon {
  opacity: 1;
}

.checkbox-text {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  flex: 1;
  text-align: right;
}

.checkbox-input:checked + .checkbox-label {
  border-color: #2A5F45;
}

.primary-color {
  color: #2A5F45 !important;
}

.error-message {
  color: #f44336;
  font-size: 13px;
  margin-top: 4px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2A5F45;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 9999;
  direction: rtl;
  text-align: right;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.global-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top-color: #5a7a4a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toggle-password-icon {
  position: absolute; 
  left: 15px; 
  bottom: 12px; 
  cursor: pointer;
}

.form-group-position {
  position: relative;
}

.user-panel-header {
  background: #FFFFFF;
  color: white;
  padding: 2px 20px;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #E8E8E8;
}

.user-panel-header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.user-panel-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: #6b9968;
}

.user-panel-header-search-container {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.user-panel-header-search-box {
  width: 100%;
  padding: 8px 20px 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 18px;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.user-panel-header-search-box:focus {
  outline: none;
  border-color: #6b9968;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(107, 153, 104, 0.1);
}

.user-panel-header-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #414141;
  pointer-events: none;
}

.user-panel-header-search-box::placeholder {
  color: #A1A1A1;
}

.user-panel-header-center {
  min-width: 350px;
}

.user-panel-header-profile-dropdown {
  position: relative;
}

.user-panel-header-profile-toggle img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
}

/* Dropdown box */
.user-panel-header-dropdown-menu {
  position: absolute;
  top: 60px;
  right: -110px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  width: 180px;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Inner items (links/buttons) */
.user-panel-header-dropdown-menu a,
.user-panel-header-dropdown-menu button {
  display: block;
  width: 100%;
  text-align: right;
  color: rgba(42, 95, 69, 1);
  padding: 8px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.user-panel-header-dropdown-menu a:hover,
.user-panel-header-dropdown-menu button:hover {
  background: #f5f5f5;
}

/* Hover support */
.user-panel-header-profile-dropdown:hover .user-panel-header-dropdown-menu {
  display: block;
}

/* Logout button */
.user-panel-header-logout-btn {
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.user-panel-header-logout-btn:hover {
  background: #f5f5f5;
}

.active-url {
  color: #2A5F45;
}

.main-edit-profile {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
}

.image-upload-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(42, 95, 69, 1);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
}

.image-upload-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px;
  border-radius: 50%;
  font-size: 18px;
}

.child_image_form_parent {
  display: none;
}

.image-upload-section {
  display: flex; 
  align-items: center; 
  gap: 10px;
}

.image-upload-text {
  color: #ffffff !important;
  margin-bottom: 0px !important;
  padding: 5px 25px !important;
  width: auto;
}

.dashboard-span-text {
  color: #ffffff !important;
  padding: 5px 15px !important;
  margin-bottom: 20px !important;
  max-width: 190px !important;
}

.hr-divider-profile {
  margin-top: 40px;
  margin-bottom: 20px;
  background-color: #ced4da;
  height: 1px;
  border: none;
}

.hr-divider-dashboard {
  margin-top: 10px;
  margin-bottom: 30px;
  background-color: #ced4da;
  height: 1px;
  border: none;
}

.dashboard-circle-container {
  position: relative;
  width: 300px;
  height: 180px;
}

.dashboard-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer rings */
.dashboard-outer { width: 180px; height: 180px; background: conic-gradient(#2A5F45 0% 80%, #e5e5ef 80% 100%); opacity: 100%; }
.dashboard-ring2 { width: 160px; height: 160px; background: conic-gradient(#ffffff 0% 70%, #ffffff 70% 100%); }
.dashboard-ring3 { width: 140px; height: 140px; background: conic-gradient(#2A5F45 0% 40%, #e5e5ef 40% 100%); opacity: 50%; }
.dashboard-ring4 { width: 120px; height: 120px; background: conic-gradient(#ffffff 0% 50%, #ffffff 50% 100%); }
.dashboard-ring5 { width: 100px; height: 100px; background: conic-gradient(#2A5F45 0% 20%, #e5e5ef 20% 100%); opacity: 75%; }
.dashboard-ring6 { width: 80px; height: 80px; background: conic-gradient(#ffffff 0% 100%, #ffffff 100% 100%); }
.dashboard-inner { width: 20px;  height: 20px;  background: conic-gradient(#ffffff 0% 100%, #ffffff 1-0% 100%); }

/* Percentage text */
.dashboard-circle span {
  position: absolute;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  padding-right: 4px;
}

.green-dark {
  background-color: #2A5F45;
}

.green-medium {
  background-color: #799e6e;
}

.green-light {
  background-color: #a5bd9e;
}

.legend-text {
  margin-right: 10px;
}

.time-display {
  margin-bottom: 16px;
}

.time-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1E1B39;
  line-height: 52px;
  letter-spacing: 0px;
  direction: rtl;
}

.date-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #615E83;
  line-height: 18px;
  letter-spacing: 0px;
  direction: rtl;
}

.header-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 18px;
  font-weight: 400;
  color: #9291A5;
  line-height: 20px;
  letter-spacing: 0px;
  margin-bottom: 8px;
}

.title-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 22px;
  font-weight: 500;
  color: #1E1B39;
  line-height: 28px;
  letter-spacing: 0px;
}

.progress-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex: 6;
}

.main-progress-dashboard {
  display: flex;
}

.total-value-text {
  font-family:  "Jameel Noori Nastaleeq", "JameelNooriNastaleeq",
  "Noto Nastaliq Urdu", serif !important;
  font-size: 24px;
  font-weight: 500;
  color: #1E1B39;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  margin-top: 40px;
}

.total-value {
  font-family:  "Roboto", serif !important;
  font-size: 45px;
  font-weight: 700;
  color: #1E1B39;
  line-height: 52px;
  letter-spacing: 0px;
  text-align: center;
  margin-top: -40px;
}

.dashboard-circle-image {
  height: 154px;
  width: 290px;
}

.inner-progress-total {
  text-align: center;
}

.progress-card-left {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex: 4;
}

.progress-card-main {
  display: flex;
  gap: 20px;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.dashboard-exam-score-listing {
  margin-top: 30px !important;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #1E1B39;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
  align-items: center;
  transition: background 0.2s;
}

.table-row:hover {
  background: #f8f9fa;
}

.date {
  color: #615E83;
  font-size: 13px;
  font-family: "Inter Regular", sans-serif;
  line-height: 18px;
  letter-spacing: 0px;
  font-weight: 400;
}

.progress-container-user-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar-dashboard {
  max-width: 200px;
  flex: 1;
  height: 8px;
  background: #CDCDCD;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2A5F45 0%, #2A5F45 100%);
  border-radius: 10px;
  width: 56%;
  transition: width 0.3s ease;
}

.progress-numbers {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #615E83;
  font-family: "Inter Regular", sans-serif;
  line-height: 18px;
  letter-spacing: 0px;
  font-weight: 400;
}

.name {
  color: #615E83;
  font-size: 15px;
}

.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more button {
  padding: 12px 40px;
  background: #e9ecef;
  border: none;
  border-radius: 25px;
  color: #6c757d;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more button:hover {
  background: #dee2e6;
  color: #495057;
}

@media (max-width: 768px) {
  .table-header,
  .table-row {
      grid-template-columns: 1fr;
      gap: 10px;
  }
}

.hamburger-user-panel {
  background: #5a7a4a !important;
  border: #5a7a4a !important;
  width: 48px;
  height: 38px;
  padding: 10px !important;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

.hamburger-user-panel span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.user-panel-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* ==================== DESKTOP FIXES (1200px+) ==================== */
@media (min-width: 1200px) {
  /* Ensure sidebar is always visible on desktop */
  .user-panel-menu-section {
      transform: translateX(0) !important;
      display: block !important;
  }

  /* Hide mobile menu elements */
  .hamburger-user-panel,
  .sidebar-close {
      display: none !important;
  }

  /* Ensure content has proper margin for sidebar */
  .user-panel-content {
      margin-right: 350px;
  }
}

/* ==================== LARGE TABLETS & SMALL DESKTOPS (992px - 1199px) ==================== */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Body padding adjustment */
  body {
      padding-top: 120px;
  }

  /* Main content - no sidebar margin */
  .user-panel-content {
      margin-right: 0 !important;
      padding: 25px 30px;
  }

  /* Sidebar - slide from right */
  .user-panel-menu-section {
      width: 320px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      /* z-index: 9999; */
  }

  .user-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-user-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #2A5F45;
      border: none;
      border-radius: 8px;
      padding: 12px;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-user-panel span {
      width: 24px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-user-panel.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger-user-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-user-panel.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  /* Sidebar close button */
  .sidebar-close {
      display: block !important;
      position: absolute;
      top: 20px;
      left: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 10;
      color: #888888;
      border-radius: 6px;
      transition: all 0.3s ease;
  }

  .sidebar-close:hover {
      background: rgba(75, 124, 61, 0.1);
      color: #2A5F45;
  }

  /* Header adjustments */
  .user-panel-header {
      padding: 2px 30px;
  }

  .user-panel-header-center {
      min-width: 280px;
  }

  .user-panel-header-search-box {
      font-size: 16px;
  }

  /* Dashboard adjustments */
  .dashboard-span-text {
      margin-right: 2% !important;
  }

  .progress-card-main {
      flex-direction: column;
      padding-right: 2%;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 30px;
      align-items: center;
  }

  .dashboard-exam-score-listing {
      overflow-x: auto;
  }
}

/* ==================== TABLETS (768px - 991px) ==================== */
@media (min-width: 768px) and (max-width: 991px) {
  /* Body padding */
  body {
      padding-top: 140px;
  }

  /* Content area */
  .user-panel-content {
      margin-right: 0 !important;
      padding: 20px 25px;
  }

  /* Sidebar */
  .user-panel-menu-section {
      width: 300px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      /* z-index: 9999; */
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .user-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-user-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #2A5F45;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-user-panel span {
      width: 22px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-user-panel.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .hamburger-user-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-user-panel.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
  }

  /* Header */
  .user-panel-header {
      padding: 2px 20px;
  }

  .user-panel-header-container {
      gap: 15px;
  }

  .user-panel-header-center {
      min-width: 250px;
  }

  .user-panel-header-search-box {
      font-size: 16px;
      padding: 7px 18px 7px 14px;
  }

  .user-name {
      display: none;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 16px !important;
      margin-right: 0 !important;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 20px;
      padding-right: 0;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      width: 100%;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 25px;
      align-items: center;
  }

  .dashboard-circle-container {
      margin: 0 auto;
  }

  .dashboard-exam-score-listing {
      margin-right: 0;
      overflow-x: auto;
  }

  .table-header,
  .table-row {
      min-width: 600px;
  }
}

/* ==================== MOBILE LANDSCAPE & SMALL TABLETS (576px - 767px) ==================== */
@media (min-width: 576px) and (max-width: 767px) {
  /* Body padding */
  body {
      padding-top: 150px;
  }

  .top-main {
      /* margin-top: 6px; */
      margin-left: 20px;
      margin-right: 20px;
  }

  /* Content */
  .user-panel-content {
      margin-right: 0 !important;
      padding: 15px 20px;
  }

  /* Sidebar */
  .user-panel-menu-section {
      width: 280px;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      /* z-index: 9999; */
  }

  .user-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-user-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #2A5F45;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
  }

  .hamburger-user-panel span {
      width: 22px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-user-panel.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .hamburger-user-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-user-panel.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
  }

  /* Header */
  .user-panel-header {
      padding: 2px 16px;
  }

  .user-panel-header-container {
      flex-wrap: wrap;
      gap: 10px;
  }

  .user-panel-header-right {
      order: 0;
      flex: 0 0 auto;
  }

  .user-panel-header-left {
      order: 1;
      flex: 1;
      justify-content: flex-start;
  }

  .user-panel-header-center {
      margin-left: 0;
      min-width: auto;
      margin-right: 15% !important;
  }

  .user-panel-header-search-box {
      width: 100%;
      font-size: 15px;
      padding: 8px 16px 8px 14px;
  }

  .user-name {
      display: none;
  }

  .profile-img img {
      height: 45px;
      width: 45px;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 15px !important;
      padding: 4px 18px !important;
      margin: 0 0 15px 0 !important;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 15px;
      padding-right: 0;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      padding: 20px;
  }

  .main-progress-dashboard {
      flex-direction: column;
      gap: 20px;
  }

  .time-value {
      font-size: 28px;
      line-height: 40px;
  }

  .title-text {
      font-size: 20px;
      line-height: 26px;
  }

  .header-text {
      font-size: 16px;
  }

  .dashboard-circle-container {
      width: 200px;
      height: 200px;
      margin: 0 auto;
  }

  .dashboard-outer { width: 160px; height: 160px; }
  .dashboard-ring2 { width: 140px; height: 140px; }
  .dashboard-ring3 { width: 120px; height: 120px; }
  .dashboard-ring4 { width: 100px; height: 100px; }
  .dashboard-ring5 { width: 80px; height: 80px; }
  .dashboard-ring6 { width: 60px; height: 60px; }
  .dashboard-inner { width: 18px; height: 18px; }

  .dashboard-circle-image {
      width: 200px;
      height: auto;
  }

  /* Table */
  .dashboard-exam-score-listing {
      margin-right: 0;
      padding: 20px;
      overflow-x: auto;
  }

  .table-header {
      display: none;
  }

  .table-row {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 15px;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      margin-bottom: 12px;
      background: #ffffff;
  }

  .name {
      font-size: 16px;
      font-weight: 600;
      color: #1E1B39;
      order: 1;
  }

  .progress-container-user-panel {
      order: 2;
      width: 100%;
  }

  .progress-bar-dashboard {
      max-width: 100%;
  }

  .date {
      font-size: 13px;
      order: 3;
  }

  /* Dropdowns */
  .notification-dropdown {
      width: 320px;
      right: -80px;
  }

  .user-panel-header-dropdown-menu {
      right: -80px;
  }
}

/* ==================== MOBILE PORTRAIT (320px - 575px) ==================== */
@media (max-width: 575px) {
  /* Body padding */
  body {
      padding-top: 160px;
  }

  .top-main {
      /* margin-top: 157px; */
      margin-left: 20px;
      margin-right: 20px;
  }

  /* Content */
  .user-panel-content {
      margin-right: 0 !important;
      padding: 15px 12px;
  }

  /* Sidebar */
  .user-panel-menu-section {
      width: 100%;
      max-width: 100%;
      position: fixed;
      right: 0;
      top: 0;
      height: 100vh;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 9999;
  }

  .user-panel-menu-section.show {
      transform: translateX(0);
  }

  .hamburger-user-panel {
      display: flex !important;
      position: fixed;
      top: 20px;
      right: 10px;
      z-index: 10001;
      background: #2A5F45;
      border: none;
      border-radius: 8px;
      padding: 10px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .hamburger-user-panel span {
      width: 20px;
      height: 2.5px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
      display: block;
  }

  .hamburger-user-panel.active span:nth-child(1) {
      transform: translateY(6.5px) rotate(45deg);
  }

  .hamburger-user-panel.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger-user-panel.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .sidebar-close {
      display: block !important;
      position: absolute;
      top: 15px;
      left: 15px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 10;
      color: #888888;
  }

  .user-panel-menu-item {
      padding: 14px 20px;
  }

  .user-panel-menu-item-text {
      font-size: 17px;
  }

  /* Header */
  .user-panel-header {
      padding: 2px 12px;
  }

  .user-panel-header-container {
      flex-wrap: wrap;
      gap: 8px;
  }

  .user-panel-header-right {
      order: 0;
  }

  .user-panel-header-left {
      order: 1;
  }

  .user-panel-header-center {
      margin: 8px 40px 0 10px;
      min-width: 220px;
  }

  .user-panel-header-search-container {
      width: 100%;
  }

  .user-panel-header-search-box {
      width: 100%;
      font-size: 14px;
      padding: 9px 10px 9px 14px;
  }

  .user-panel-header-search-icon {
      left: 12px;
  }

  .user-name {
      display: none !important;
  }

  .profile-img img {
      height: 42px;
      width: 42px;
  }

  /* Dashboard */
  .dashboard-span-text {
      font-size: 14px !important;
      padding: 4px 15px !important;
      margin: 0 0 15px 0 !important;
  }

  .caption-img {
      height: 16px;
      width: 16px;
      margin-left: 4px;
  }

  .progress-card-main {
      flex-direction: column;
      gap: 15px;
      padding-right: 0;
      max-height: none;
  }

  .progress-card,
  .progress-card-left {
      max-width: 100%;
      width: 100%;
      padding: 20px 15px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  .main-progress-dashboard {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .inner-progress-time {
      width: 100%;
  }

  .inner-progress-chart {
      width: 100%;
      display: flex;
      justify-content: center;
  }

  .dashboard-circle-container {
      width: 180px;
      height: 180px;
  }

  .dashboard-outer { width: 160px; height: 160px; }
  .dashboard-ring2 { width: 140px; height: 140px; }
  .dashboard-ring3 { width: 120px; height: 120px; }
  .dashboard-ring4 { width: 100px; height: 100px; }
  .dashboard-ring5 { width: 80px; height: 80px; }
  .dashboard-ring6 { width: 60px; height: 60px; }
  .dashboard-inner { width: 18px; height: 18px; }

  .dashboard-circle-image {
      width: 220px;
      height: auto;
  }

  .time-value {
      font-size: 24px;
      line-height: 36px;
  }

  .date-value {
      font-size: 14px;
      line-height: 16px;
  }

  .title-text {
      font-size: 18px;
      line-height: 24px;
  }

  .header-text {
      font-size: 15px;
      line-height: 18px;
  }

  .total-value {
      font-size: 38px;
      line-height: 44px;
  }

  .total-value-text {
      font-size: 20px;
      line-height: 22px;
  }

  .legend-list {
      margin-top: 20px;
      gap: 16px;
  }

  .legend-text {
      font-size: 14px;
  }

  .legend-dot {
      width: 12px;
      height: 12px;
  }

  /* Table */
  .dashboard-exam-score-listing {
      margin: 20px 0 30px 0 !important;
      padding: 15px;
      max-width: 100%;
      overflow-x: visible;
      margin-right: 0 !important;
  }

  .table-header {
      display: none !important;
  }

  .table-row {
      display: flex !important;
      flex-direction: column;
      gap: 10px;
      padding: 15px;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      margin-bottom: 10px;
      background: #ffffff;
  }

  .table-row:hover {
      background: #ffffff;
  }

  .name {
      font-size: 16px;
      font-weight: 600;
      color: #1E1B39;
      order: 1;
  }

  .progress-container-user-panel {
      order: 2;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .progress-bar-dashboard {
      max-width: 100%;
      flex: 1;
  }

  .date {
      font-size: 12px;
      order: 3;
  }

  .progress-numbers {
      font-size: 12px;
  }

  /* Dropdowns */
  .notification-dropdown {
      position: fixed;
      top: 70px !important;
      right: 15px;
      left: 15px;
      width: auto;
      max-height: calc(100vh - 90px);
  }

  .user-panel-header-dropdown-menu {
      right: -120px;
      width: 200px;
  }

  .notification-header h4 {
      font-size: 15px;
  }

  .mark-all-read {
      font-size: 10px;
      padding: 3px 6px;
  }

  .main-dashboard {
    padding-right: 10px !important;
    padding-left: 10px !important;
    padding-bottom: 20px !important;
  }
}

/* ==================== EXTRA SMALL MOBILE (320px - 374px) ==================== */
@media (max-width: 374px) {
  .dashboard-span-text {
      font-size: 13px !important;
      padding: 4px 12px !important;
  }

  .caption-img {
      height: 14px;
      width: 14px;
  }

  .progress-card,
  .progress-card-left {
      padding: 15px 12px;
  }

  .title-text {
      font-size: 16px;
      line-height: 22px;
  }

  .header-text {
      font-size: 14px;
  }

  .time-value {
      font-size: 22px;
      line-height: 32px;
  }

  .total-value {
      font-size: 34px;
      line-height: 40px;
  }

  .total-value-text {
      font-size: 18px;
  }

  .dashboard-circle-container {
      width: 160px;
      height: 160px;
  }

  .dashboard-outer { width: 140px; height: 140px; }
  .dashboard-ring2 { width: 122px; height: 122px; }
  .dashboard-ring3 { width: 104px; height: 104px; }
  .dashboard-ring4 { width: 86px; height: 86px; }
  .dashboard-ring5 { width: 68px; height: 68px; }
  .dashboard-ring6 { width: 50px; height: 50px; }
  .dashboard-inner { width: 16px; height: 16px; }
}

/* ==================== LANDSCAPE MODE FIXES ==================== */
@media (max-width: 767px) and (orientation: landscape) {
  body {
      padding-top: 80px;
  }

  .user-panel-header {
      padding: 2px 12px;
  }

  .hamburger-user-panel {
      top: 20px;
  }

  .progress-card-main {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 15px;
  }

  .progress-card,
  .progress-card-left {
      flex: 1 1 48%;
      max-width: 48%;
  }

  .main-progress-dashboard {
      flex-direction: row;
      gap: 15px;
  }

  .dashboard-circle-container {
      width: 150px;
      height: 150px;
  }
}

/* ==================== OVERLAY FOR SIDEBAR (MOBILE) ==================== */
@media (max-width: 1199px) {
  /* Create overlay when sidebar is open */
  body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 9998;
      pointer-events: none;
  }

  body.sidebar-open::before {
      opacity: 1;
      visibility: visible;
      pointer-events: all;
  }

  body.sidebar-open {
      overflow: hidden;
  }
}

/* ==================== UTILITIES ==================== */

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for sidebar */
.user-panel-menu-section::-webkit-scrollbar {
  width: 6px;
}

.user-panel-menu-section::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.user-panel-menu-section::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.user-panel-menu-section::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Table scrollbar on mobile */
@media (max-width: 767px) {
  .dashboard-exam-score-listing::-webkit-scrollbar {
      height: 4px;
  }

  .dashboard-exam-score-listing::-webkit-scrollbar-track {
      background: #f1f1f1;
  }

  .dashboard-exam-score-listing::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 2px;
  }
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 1px solid rgba(42, 95, 69, 1);
  outline-offset: 1px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
  }
}

.main-dashboard {
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 50px;
}

.hero {
  background-color: #0d6efd;
  color: white;
  padding: 60px 0;
  text-align: center;
}
.faq-item {
  margin-bottom: 20px;
}
.contact-section {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

.checkbox-disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: not-allowed;
}

.cv-preview-link {
  display: inline-block; 
  padding: 6px 12px;
  text-decoration: none !important;
}

.cv-preview-main a:hover {
  background: #4a6a3a !important;
  box-shadow: 0 6px 16px rgba(90, 122, 74, 0.4) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

/* New Al Asar CSS Start From Here  */
.card {
    color: white !important;
}

.card-header {
    background-color: black !important;
}

.card-body {
    background-color: #ffc100 !important;
}

.logo-img {
    width: 117px;
}

.shadow-sm {
    box-shadow: unset !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 0) !important;
}

.card-body a {
    padding: 8px 8px 8px 0px;
    font-family: 'Righteous', cursive;
    text-decoration: none;
    font-size: 17px;
    color: black;
    display: block;
    transition: 0.3s;

}

.card-body a:hover{
    color: #b80000 !important;
}

.card-body ul {
    list-style-type: none;
}

.hero-white-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(250, 249, 243, 0)    0%,
    rgba(250, 249, 243, 0.5)  30%,
    rgba(250, 249, 243, 0.88) 55%,
    rgba(250, 249, 243, 1)    100%
  );
}

@media (max-width: 992px) {
  .hero-white-overlay {
    width: 60%;
    background: linear-gradient(
      to right,
      rgba(250, 249, 243, 0)    0%,
      rgba(250, 249, 243, 0.5)  20%,
      rgba(250, 249, 243, 0.9)  50%,
      rgba(250, 249, 243, 1)    100%
    );
  }
}

@media (max-width: 576px) {
  .hero-white-overlay {
    width: 70%;
    background: linear-gradient(
      to right,
      rgba(250, 249, 243, 0)    0%,
      rgba(250, 249, 243, 0.6)  20%,
      rgba(250, 249, 243, 0.95) 45%,
      rgba(250, 249, 243, 1)    100%
    );
  }
}

#menuSection {
    display: block; /* desktop default show */
}

@media (max-width: 768px) {
    #menuSection {
        display: none; /* mobile default hide */
    }

    #menuSection.show {
        display: block; /* mobile toggle show */
    }
}

.card {
    color:white !important;
}

.card-header {
    background-color: black  !important;
}

.card-body {
    background-color: #ffc100  !important;
}

.logo-img {
    width: 117px;
}

.shadow-sm {
    box-shadow: unset !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 0) !important;
}

.card-body a {
    padding: 8px 8px 8px 0px;
    font-family: 'Righteous', cursive;
    text-decoration: none;
    font-size: 17px;
    color: black;
    display: block;
    transition: 0.3s;

}

.card-body a:hover {
    color: #b80000 !important;
}

.card-body ul {
    list-style-type: none;
}

.custom-select {
    width: 500px;
}

.select2-container .select2-dropdown {
    z-index: 999999;
    direction: rtl;
}

.dropdownStyle {
    text-align: right !important;
    font-size: 15px !important;
    color: #FFFFFF !important;
    background-color: #10654e !important;
    border: none !important;
    font-weight: bold;
    font-family: 'Jameel Noori Nastaleeq', Sans-Serif !important;
}

.selectionStyle {
    text-align: right !important;
    font-size: 12px !important;
    color: #FFF !important;
    background-color: #10654e !important;
    border: none !important;
}

.selectionStyle .select2-selection__rendered {
    color: #FFFFFF !important;
}

#loader {
    display: none;
    display: flex;
}

#loader img {
    animation: spin 1s linear infinite;
}

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

@media screen and (max-width: 1200px) {
  .navigation_bar {
      height: 80px;
      overflow-y: scroll;
      line-height: 18px;
  }
}

.caption-icon {
    margin-right: 4px;
    margin-bottom: 4px;
    height: 12px;
    width: 12px;
}

.settings-dropdown-wrapper {
    display: block;
}

.settings-parent {
    cursor: pointer;
}

.settings-dropdown-menu {
    display: none;
    padding-right: 34px;
    margin-top: 6px;
}

.settings-dropdown-menu.show-settings-dropdown {
    display: block;
}

.settings-arrow {
    transition: transform 0.3s ease;
    color: #888888;
    font-size: 12px;
    margin-left: 18px;
}

@media (max-width: 768px) {
    .settings-arrow {
        margin-left: 24px;
    }
}

.rotate-arrow {
    transform: rotate(-90deg);
    color: #2A5F45;
}

.settings-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: #888888;
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    border-right: 2px solid transparent;
}

.settings-dropdown-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B0B0B0;
    display: inline-block;
    flex-shrink: 0;
}

.settings-dropdown-item:hover {
    color: #2A5F45;
    text-decoration: none;
}

.settings-dropdown-item:hover::before {
    background: #2A5F45;
}

.active-submenu {
    color: #2A5F45 !important;
    font-weight: 600;
    border-right: 2px solid #2A5F45;
    background: rgba(76, 124, 60, 0.06);
    padding: 2px 4px 2px 4px;
}

.active-submenu::before {
    background: #2A5F45;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
  background-position: left calc(0.4em + 0.1875rem) center !important;
}

/* Desktop sidebar toggle */
@media (min-width: 1200px) {
    .user-panel-menu-section {
        transition: width 0.3s ease, opacity 0.3s ease, border 0.3s ease;
    }

    .top-main-user-panel.user-panel-content {
        transition: margin-right 0.3s ease;
    }

    body.sidebar-hidden .user-panel-menu-section {
        width: 0 !important;
        max-width: 0 !important;
        opacity: 0;
        pointer-events: none;
        border: none !important;
        overflow: hidden;
    }

    body.sidebar-hidden .user-panel-content {
        margin-right: 0 !important;
    }
}

/* Desktop sidebar collapse */
@media (min-width: 769px) {
    body.menu-collapsed #menuSection {
        display: none;
    }

    body.menu-collapsed .top-main {
        margin-right: 0;
    }

    #menuSection,
    .top-main {
        transition: margin-right 0.3s ease;
    }
}

.alert-success {
  --bs-alert-color: rgba(65, 65, 65, 1);
  --bs-alert-bg: rgba(99, 218, 144, 1);
  --bs-alert-border-color: rgba(99, 218, 144, 1);
}

.dash-section-title {
    font-size: 18px;
    font-weight: 500;
    color: #2A5F45;
    margin: 20px 0 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}
.dash-card {
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid transparent;
}
.dash-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dash-card-count { font-size: 26px; font-weight: 500; line-height: 1; }
.dash-card-label { font-size: 14px; line-height: 1.5; }

/* Colors */
.c-blue   { background:#E6F1FB; border-color:#B5D4F4; }
.c-blue   .dash-card-icon { background:#B5D4F4; color:#0C447C; }
.c-blue   .dash-card-count { color:#0C447C; }
.c-blue   .dash-card-label { color:#185FA5; }

.c-green  { background:#EAF3DE; border-color:#C0DD97; }
.c-green  .dash-card-icon { background:#C0DD97; color:#27500A; }
.c-green  .dash-card-count { color:#27500A; }
.c-green  .dash-card-label { color:#3B6D11; }

.c-amber  { background:#FAEEDA; border-color:#FAC775; }
.c-amber  .dash-card-icon { background:#FAC775; color:#633806; }
.c-amber  .dash-card-count { color:#633806; }
.c-amber  .dash-card-label { color:#854F0B; }

.c-purple { background:#EEEDFE; border-color:#CECBF6; }
.c-purple .dash-card-icon { background:#CECBF6; color:#3C3489; }
.c-purple .dash-card-count { color:#3C3489; }
.c-purple .dash-card-label { color:#534AB7; }

.c-red    { background:#FCEBEB; border-color:#F7C1C1; }
.c-red    .dash-card-icon { background:#F7C1C1; color:#791F1F; }
.c-red    .dash-card-count { color:#791F1F; }
.c-red    .dash-card-label { color:#A32D2D; }

.c-pink   { background:#FBEAF0; border-color:#F4C0D1; }
.c-pink   .dash-card-icon { background:#F4C0D1; color:#72243E; }
.c-pink   .dash-card-count { color:#72243E; }
.c-pink   .dash-card-label { color:#993556; }

.c-teal   { background:#E1F5EE; border-color:#9FE1CB; }
.c-teal   .dash-card-icon { background:#9FE1CB; color:#085041; }
.c-teal   .dash-card-count { color:#085041; }
.c-teal   .dash-card-label { color:#0F6E56; }

.c-coral  { background:#FAECE7; border-color:#F5C4B3; }
.c-coral  .dash-card-icon { background:#F5C4B3; color:#712B13; }
.c-coral  .dash-card-count { color:#712B13; }
.c-coral  .dash-card-label { color:#993C1D; }

.user-main-dashboard {
    margin: 20px 30px 30px 30px; 
    border-radius: 20px;
}

@media screen and (max-width: 768px) {
    .user-main-dashboard {
        margin: 10px; 
    }
}

.uw-wrap {
    background: var(--bs-white, #fff);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px 30px;
    margin-top: 40px !important;
    display: flex;
    align-items: center;
    gap: 16px;
}
.uw-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EAF3DE;
    border: 2px solid #4C7C3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: #27500A;
    flex-shrink: 0;
}
.uw-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4C7C3C;
    flex-shrink: 0;
}
.uw-right  { margin-right: auto; }
.uw-name   { font-size: 17px; font-weight: 500; margin: 0 0 4px; color: #222; }
.uw-badge  {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #EAF3DE;
    color: #27500A;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #C0DD97;
}

.db-wrap {
    direction: rtl;
    padding: 28px 40px 40px 40px;
    /* min-height: calc(100vh - 60px); */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.db-page-title-row {
    text-align: right;
}

.db-page-title {
    font-size: 22px;
    font-weight: 600;
    color: rgba(65, 65, 65, 1);
    margin: 0;
    direction: rtl;
}

.db-toolbar {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    gap: 10px;
    position: relative;
}

.main-db-search-wrap {
    flex-direction: row-reverse;
}

.db-search-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    padding: 0 12px;
    height: 38px;
    gap: 8px;
    width: 324px;
}

.db-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.db-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #777;
    font-family: inherit;
    width: 100%;
    text-align: right;
    direction: rtl;
}

.db-search-input::placeholder {
    color: rgba(182, 183, 182, 1);
}

.db-add-btn.is-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.db-filter-btn {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
}

.db-filter-btn:hover {
    border-color: rgba(42, 95, 69, 0.5);
}

.db-search-wrap:hover {
    border-color: rgba(42, 95, 69, 0.5);
}

.db-sort-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 365px;
    background: #fff;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 180px;
    overflow: hidden;
    direction: rtl;
}

.db-sort-dropdown.show {
    display: block;
}

.db-sort-item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: rgba(65, 65, 65, 1);
    text-decoration: none;
    text-align: right;
    transition: background 0.12s;
    border-bottom: 1px solid #f2f1eb;
}

.db-sort-item:last-child {
    border-bottom: none;
}

.db-sort-item:hover {
    background: #f5f3ea;
    color: rgba(42, 95, 69, 1);
    text-decoration: none;
}

.db-sort-item.active {
    color: rgba(42, 95, 69, 1);
    font-weight: 600;
    background: rgba(42, 95, 69, 0.06);
}

.db-add-btn {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 18px;
    background-color: rgba(42, 95, 69, 1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
    direction: rtl;
    white-space: nowrap;
}

.db-add-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.db-add-plus {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.db-kanban-wrap {
    flex: 1;
    overflow: hidden;
}

.db-kanban-scroll {
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    min-height: 500px;
    align-items: flex-start;
}

.db-kanban-scroll::-webkit-scrollbar {
    height: 5px;
}
.db-kanban-scroll::-webkit-scrollbar-track {
    background: #ece9da;
    border-radius: 4px;
}
.db-kanban-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.db-kanban-col {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    min-height: 800px;
    border: 1px solid rgba(232, 231, 231, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.db-col-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    padding: 14px 16px 12px 16px;
    border-bottom: 1px solid #f2f1eb;
    gap: 10px;
}

.db-col-title {
    font-size: 18px;
    font-weight: 500;
    color: rgba(116, 116, 116, 1);
    direction: rtl;
    text-align: right;
    line-height: 1.5;
    flex: 1;
}

.db-col-count {
    font-family: "Poppins", serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(116, 116, 116, 1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-col-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 200px;
}

.db-fatwa-card {
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 10px;
    padding: 12px 12px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s;
    background: linear-gradient(179.16deg, #FFFFFF -64.57%, #E8E8E8 312.64%);
}

.db-fatwa-card:hover {
    border: 1px solid rgba(152, 152, 152, 1);
    background: linear-gradient(179.16deg, #FFFFFF -64.57%, #E8E8E8 312.64%);
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.1);

}

.db-card-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
}

.db-card-id-text {
    font-size: 15px;
}

.db-card-id {
    font-family: "Poppins", serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(65, 65, 65, 1);
    direction: rtl;
}

.db-card-drag {
    cursor: grab;
    padding: 0px 4px;
    opacity: 0.5;
}

.db-card-drag:hover {
    opacity: 1;
}

.db-card-meta-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    direction: rtl;
    gap: 4px;
}

.db-card-label {
    font-size: 12px;
    color: rgba(150, 146, 146, 1);
    direction: rtl;
}

.db-card-date {
    font-family: "Poppins", serif;
    font-size: 10px;
    color: rgba(150, 146, 146, 1);
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
}

.db-card-actions-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    direction: rtl;
    justify-content: space-between;
}

.db-card-action-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    direction: ltr;
}

.db-action-btn {
    width: 20px;
    height: 20px;
    background: rgba(232, 231, 231, 1);
    border: 1.2px solid #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.12s, border-color 0.12s;
    flex-shrink: 0;
}

.db-action-btn:hover {
    background-color: #BABABA;
}

.db-action-count {
    font-family: "Poppins", serif;
    font-size: 11px;
    color: rgba(65, 65, 65, 1);
    text-align: center;
}

.db-card-drag,
.db-card-action-btns {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}

.db-fatwa-card:hover .db-card-drag,
.db-fatwa-card:hover .db-card-action-btns,
.db-fatwa-card.db-card-chosen .db-card-drag,
.db-fatwa-card.db-card-chosen .db-card-action-btns,
.db-fatwa-card.db-card-dragging .db-card-drag,
.db-fatwa-card.db-card-dragging .db-card-action-btns,
.db-fatwa-card.db-card-ghost .db-card-drag,
.db-fatwa-card.db-card-ghost .db-card-action-btns,
.db-fatwa-card.dragging .db-card-drag,
.db-fatwa-card.dragging .db-card-action-btns {
    opacity: 1;
    visibility: visible;
}

.db-card-dragging {
    transform: rotate(3deg) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    z-index: 9999;
}

.db-card-ghost {
    transform: rotate(3deg);
    opacity: .8;
}

.db-fatwa-card.db-card-chosen {
    transform: rotate(3deg);
}

.db-card-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
    margin-left: 6px;
}

.db-card-avatars {
    display: flex;
    flex-direction: row;
    direction: ltr;
}

.db-avatar {
    width: 25px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -8px;
    background: #ddd;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 3px 2px 1px rgba(0, 0, 0, 0.05);
}

.db-card-status-badge {
    font-family: "Poppins", serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(65, 65, 65, 1);
    background: #f0f0f0;
    border-radius: 4px;
    padding: 2px 4px;
    white-space: nowrap;
}

.db-preview-pill {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background-color: rgba(42, 95, 69, 1);
    color: rgba(255, 255, 255, 1);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    direction: rtl;
    transition: opacity 0.15s;
}

.db-preview-pill:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.db-card-ghost {
    opacity: 0.4;
    background: #f5f3ea;
    border: 2px dashed rgba(42, 95, 69, 0.4);
}

.db-card-chosen {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.db-card-dragging {
    opacity: 0.9;
    transform: rotate(1deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .db-wrap {
        padding: 20px 16px 32px 16px;
    }

    .db-kanban-col {
        min-width: 340px;
    }
}

@media (max-width: 767px) {
    .db-wrap {
        padding: 16px 12px 28px 12px;
        gap: 14px;
    }

    .db-page-title {
        font-size: 16px;
    }

    .db-search-wrap {
        width: 210px;
    }

    .db-col-title {
        font-size: 12.5px;
    }

    .db-card-id {
        font-size: 12.5px;
    }

    .db-sort-dropdown {
        top: 40px;
        left: 220px;
    }

    .db-card-avatars {
        padding: 2px 10px;
    }
}

@media (max-width: 575px) {
    .db-add-btn {
        font-size: 13px;
        padding: 0 14px;
    }

    .tree-action-btn {
        justify-content: center;
        width: 100%;
    }
}

.tree-action-btn {
    background: #2A5F45;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(90, 122, 74, 0.3);
}

.modal-header {
    justify-content: flex-start;
    gap: 18px;
}

.modal-header .close { 
    margin: 8px 2px 8px 2px;
    padding: 0px;
}

.close {
    font-size: 26px;
}

.modal {
    z-index: 99999;
}

.mf-page-wrap {
    direction: rtl;
    min-height: 60vh;
    padding: 30px 70px 50px 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mf-form-card {
    background: #faf9f3;
    border-radius: 14px;
    border: 1px solid rgba(232, 231, 231, 1);
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    padding: 30px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    direction: rtl;
}

.mf-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    direction: rtl;
}

.mf-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    direction: rtl;
}

.mf-full {
    width: 100%;
}

.mf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: rtl;
}

.mf-label {
    font-size: 18px;
    font-weight: 400;
    color: #414141;
    direction: rtl;
    text-align: right;
    line-height: 16px;
    margin: 0;
}

.mf-required {
    color: rgba(65, 65, 65, 1);
    font-weight: 600;
}

.mf-label-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    direction: rtl;
    gap: 10px;
    flex-wrap: wrap;
}

.mf-sub-options {
    font-size: 14px;
    line-height: 16px;
    color: rgba(128, 128, 128, 1);
    direction: rtl;
}

.mf-section-heading {
    font-size: 22px;
    font-weight: 600;
    color: #414141;
    direction: rtl;
    text-align: right;
}

.mf-input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
    font-family: inherit;
    color: rgba(182, 183, 182, 1);
    background: #fff;
    outline: none;
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
    transition: border-color 0.15s;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
}

.mf-input::placeholder {
    color: rgba(182, 183, 182, 1);
}

.mf-input:focus {
    border-color: rgba(42, 95, 69, 0.6);
}

.mf-q-svg {
    height: 10px;
    width: 10px;
}

.mf-eye-svg {
    height: 12px;
    width: 12px;
}

.mf-textarea {
    width: 100%;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: rgba(182, 183, 182, 1);
    background: #fff;
    outline: none;
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.15s;
    line-height: 1.6;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
}

.mf-textarea::placeholder {
    color: rgba(182, 183, 182, 1);
}

.mf-textarea:focus {
    border-color: rgba(42, 95, 69, 0.6);
}

.mf-textarea-sm {
    min-height: 80px;
}

.mf-textarea-md {
    min-height: 110px;
}

.mf-checkbox-question {
    font-size: 18px;
    line-height: 16px;
    color: #414141;
    direction: rtl;
    text-align: right;
    margin: 0 0 8px 0;
}

.mf-checkbox-label {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    direction: rtl;
}

.mf-checkbox {
    display: none;
}

.mf-checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(42, 95, 69, 1);
    border-radius: 4px;
    background: rgba(42, 95, 69, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.mf-checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
}

.mf-checkbox:not(:checked) + .mf-checkbox-custom {
    background: #fff;
}

.mf-checkbox:not(:checked) + .mf-checkbox-custom::after {
    border-color: transparent;
}

.mf-checkbox-text {
    font-size: 18px;
    line-height: 16px;
    color: #414141;
    direction: rtl;
}

.mf-upload-label {
    font-size: 18px;
    line-height: 16px;
    color: #414141;
    direction: rtl;
    text-align: right;
    margin: 0 0 10px 0;
}

.mf-upload-row {
    display: flex;
    flex-direction: row-reverse;
    direction: rtl;
    gap: 16px;
    align-items: flex-start;
}

.mf-file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 320px;
}

.mf-file-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    padding: 8px 12px;
    direction: rtl;
}

.mf-file-remove {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: none;
    border: none;
    color: rgba(136, 136, 136, 1);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    margin-right: auto;
    gap: 10px;
    padding-left: 20px;
}

.mf-file-remove:hover {
    color: #e44;
}

.mf-file-name {
    font-size: 14px;
    color: #414141;
    direction: rtl;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: right;
}

.mf-file-loading {
    opacity: 0.7;
}

.mf-cloud-svg {
    heigth: 55px;
    width: 55px;
}

.mf-file-spinner {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #ddd;
    border-top-color: rgba(42, 95, 69, 1);
    border-radius: 50%;
    animation: mf-spin 0.8s linear infinite;
    margin-right: auto;
}

@keyframes mf-spin {
    to { transform: rotate(360deg); }
}

.mf-dropzone {
    flex: 1;
    min-height: 130px;
    border-radius: 12px;
    background: rgba(237, 237, 237, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 20px 16px;
    transition: border-color 0.15s, background 0.15s;
    border: 2px dashed rgba(182, 183, 182, 1)
}

.mf-dropzone:hover {
    border-color: rgba(42, 95, 69, 0.5);
    background: #f5faf7;
}

.mf-dropzone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mf-dropzone-text {
    font-size: 15px;
    line-height: 22px;
    color: rgba(136, 136, 136, 1);
    text-align: center;
    direction: rtl;
    margin: 0;
}

.mf-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.main-mf-file-name {
    font-size: 14px;
    line-height: 16px;
    color: rgba(182, 183, 182, 1);
}

.mf-date-wrap .input-group-text.mf-date-icon-btn {
    background: #fff;
    cursor: pointer;
    border: none;
}

.mf-date-wrap .mf-input.mf-date-input {
    border-right: 1px solid rgba(232, 231, 231, 1);
    border-left: none;
    border-radius: 8px 0 0 8px;
    padding-left: 14px;
}

.mf-date-input {
    padding-left: 40px;
}

.mf-date-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.mf-submit-row {
    display: flex;
    flex-direction: row;
    direction: rtl;
    justify-content: flex-start;
    padding-top: 4px;
}

.mf-submit-btn {
    height: 42px;
    padding: 0 32px;
    background-color: rgba(42, 95, 69, 1);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
    direction: rtl;
}

.mf-submit-btn:hover {
    opacity: 0.9;
}

.mf-notice-bar {
    background: rgba(119, 255, 171, 1);
    border: 1px solid rgba(99, 218, 144, 1);
    border-radius: 10px;
    padding: 14px 18px 14px 14px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    direction: rtl;
    gap: 12px;
}

.mf-notice-close {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: none;
    border: none;
    color: #414141;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    margin-right: auto;
}

.mf-notice-close:hover {
    color: #414141;
}

.mf-notice-text {
    font-size: 16px;
    color: rgba(65, 65, 65, 1);
    direction: rtl;
    text-align: right;
    line-height: 16px;
    margin: 0;
    flex: 1;
}

.hero-banner-main .caption h1 {
    font-size: 54px;
    line-height: 1.2;
    max-width: 350px;
}

.mf-checkbox-group {
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 24px;
    align-items: center;
}

.input-group-append {
    position: absolute;
    left: 2px;
    top: 6px;
}

.input-group > .form-control:focus {
    z-index: inherit;
}

.mf-calendar-svg {
    height: 16px;
    width: 16px;
}

.mf-q-green-svg {
    height: 10px;
    width: 10px;
}

@media (max-width: 1199px) and (min-width: 993px) {
    .mf-page-wrap {
        padding: 36px 50px 44px 50px;
    }
}

@media (max-width: 992px) {
    .mf-page-wrap {
        padding: 28px 28px 36px 28px;
    }

    .mf-form-card {
        padding: 24px 20px 22px 20px;
        gap: 18px;
    }

    .mf-row-3 {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .mf-row-3 .mf-field:last-child {
        grid-column: 1 / -1;
    }

    .mf-upload-row {
        flex-direction: column;
        gap: 14px;
    }

    .mf-file-list {
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mf-file-item {
        flex: 1 1 160px;
        min-width: 140px;
    }

    .mf-dropzone {
        width: 100%;
        min-height: 110px;
    }
}

@media (max-width: 767px) {
    .mf-page-wrap {
        padding: 20px 16px 28px 16px;
        gap: 14px;
    }

    .mf-form-card {
        padding: 20px 16px 18px 16px;
        gap: 16px;
        border-radius: 10px;
    }

    .mf-row-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mf-row-3 .mf-field:last-child {
        grid-column: auto;
    }

    .mf-row-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mf-label {
        font-size: 13.5px;
    }

    .mf-input,
    .mf-textarea {
        font-size: 13.5px;
    }

    .mf-input {
        height: 40px;
    }

    .mf-textarea-sm {
        min-height: 75px;
    }

    .mf-textarea-md {
        min-height: 95px;
    }

    .mf-upload-row {
        flex-direction: column;
        gap: 12px;
    }

    .mf-file-list {
        max-width: 100%;
        width: 100%;
    }

    .mf-dropzone {
        width: 100%;
        min-height: 100px;
    }

    .mf-notice-bar {
        padding: 12px 14px;
    }

    .mf-notice-text {
        font-size: 13px;
    }

    .hero-banner-main .caption h1 {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .mf-page-wrap {
        padding: 16px 12px 24px 12px;
        gap: 12px;
    }

    .mf-form-card {
        padding: 16px 13px 14px 13px;
        gap: 14px;
    }

    .mf-label {
        font-size: 13px;
    }

    .mf-section-heading {
        font-size: 14px;
    }

    .mf-input {
        height: 38px;
        font-size: 13px;
        padding: 0 11px;
    }

    .mf-textarea {
        font-size: 13px;
        padding: 10px 11px;
    }

    .mf-textarea-sm {
        min-height: 68px;
    }

    .mf-textarea-md {
        min-height: 85px;
    }

    .mf-checkbox-question,
    .mf-checkbox-text,
    .mf-upload-label {
        font-size: 13px;
    }

    .mf-file-item {
        padding: 7px 10px;
    }

    .mf-file-name {
        font-size: 12.5px;
    }

    .mf-dropzone {
        min-height: 90px;
        padding: 14px 12px;
    }

    .mf-dropzone-text {
        font-size: 12.5px;
    }

    .mf-submit-btn {
        height: 40px;
        font-size: 14px;
        padding: 0 24px;
    }

    .mf-notice-text {
        font-size: 12.5px;
    }

    .hero-banner-main .caption h1 {
        font-size: 22px;
    }
}

@media (max-width: 379px) {
    .mf-page-wrap {
        padding: 12px 8px 20px 8px;
    }

    .mf-form-card {
        padding: 14px 10px 12px 10px;
    }

    .mf-label,
    .mf-input,
    .mf-textarea {
        font-size: 12.5px;
    }

    .hero-banner-main .caption h1 {
        font-size: 19px;
    }
}

.mf-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.180242 0.180242C0.420565 -0.0600807 0.810205 -0.0600807 1.05053 0.180242L8 7.12972L14.9495 0.180242C15.1898 -0.0600807 15.5794 -0.0600807 15.8198 0.180242C16.0601 0.420565 16.0601 0.810205 15.8198 1.05053L8.43514 8.43514C8.19482 8.67547 7.80518 8.67547 7.56486 8.43514L0.180242 1.05053C-0.0600807 0.810205 -0.0600807 0.420565 0.180242 0.180242Z' fill='%23C8C9C8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 14px 8px;
    padding-left: 36px;
    cursor: pointer;
}

.mf-label-text {
    color: rgba(65, 65, 65, 1);
    font-size: 18px;
}

.mf-label-id {
    color: rgba(65, 65, 65, 1);
    font-family: "Poppins", serif;
    font-size: 18px;
    margin-right: 10px;
}

.mf-top-main {
    display: flex;
    justify-content: space-between;
}

.mf-return-btn {
    height: 36px;
    padding: 4px 20px;
    background-color: #fff;
    color: rgba(42, 95, 69, 1);
    border: 1px solid rgba(42, 95, 69, 1);
    border-radius: 24px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
    direction: rtl;
    text-decoration: none;
}

.mf-return-btn:hover {
    color: #fff;
    border: 1px solid rgba(42, 95, 69, 1);
    background-color: rgba(42, 95, 69, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 95, 69, 0.3);
}

.mf-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(232, 244, 239, 1);
    color: rgba(15, 110, 86, 1);
    border: 1px solid rgba(181, 217, 201, 1);
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    font-family: inherit;
}

.mf-chip-icon {
    height: 14px;
    width: 14px;
}

.mf-divider {
    height: 1px;
    background: rgba(232, 231, 231, 1);
    width: 100%;
    margin: 2px 0;
}

.mf-view-val {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(232, 231, 231, 1);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #414141;
    background: #fff;
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
    line-height: 1.6;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.06);
}

.mf-view-multiline {
    min-height: 80px;
}

.mf-view-md {
    min-height: 110px;
}

.mf-view-date {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
}

.mf-ltr {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.mf-badge-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    direction: rtl;
}

.mf-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid;
}

.mf-badge-yes {
    background: rgba(232, 244, 239, 1);
    color: rgba(15, 110, 86, 1);
    border-color: rgba(181, 217, 201, 1);
}

.mf-badge-no {
    background: rgba(245, 245, 245, 1);
    color: rgba(136, 136, 136, 1);
    border-color: rgba(220, 220, 220, 1);
}

.mf-badge-icon {
    height: 16px;
    width: 16px;
}

.mf-file-icon-wrap {
    width: 32px;
    height: 32px;
    background: rgba(232, 244, 239, 1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mf-file-type-icon {
    height: 18px;
    width: 18px;
}

.mf-view-doc-btn {
    height: 30px;
    padding: 0 14px;
    background: transparent;
    color: rgba(42, 95, 69, 1);
    border: 1px solid rgba(42, 95, 69, 1);
    border-radius: 20px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin-right: auto;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.mf-view-doc-btn:hover {
    background: rgba(42, 95, 69, 0.07);
    color: rgba(42, 95, 69, 1);
}

.mf-no-docs {
    font-size: 14px;
    color: rgba(182, 183, 182, 1);
    direction: rtl;
    text-align: right;
    padding: 10px 0;
}

@media (max-width: 767px) {
    .mf-view-val {
        font-size: 13.5px;
    }
    .mf-view-multiline {
        min-height: 70px;
    }
    .mf-view-md {
        min-height: 90px;
    }
    .mf-status-chip {
        font-size: 12px;
        padding: 3px 10px;
    }
}

@media (max-width: 575px) {
    .mf-view-val {
        font-size: 13px;
        padding: 9px 11px;
    }
    .mf-view-date {
        gap: 7px;
    }
    .mf-badge {
        font-size: 13px;
        padding: 6px 14px;
    }
    .mf-view-doc-btn {
        font-size: 12px;
        padding: 0 10px;
    }
}