/* =========================
   ARB Design Tokens
   ========================= */

:root {
  /* Colors */
  --arb-blue: #29419b;          /* Al Rajhi Bank brand blue */
  --arb-blue-light: #e5efff;
  --arb-orange: #bf4500;        /* Al Rajhi Bank accent orange */
  --arb-text-main: #111827;
  --arb-text-muted: #6b7280;
  --arb-bg: #ffffff;
  --arb-border: #e0e0e0;

  /* Shadows & Radius */
  --arb-radius-sm: 0.5rem;
  --arb-radius-lg: 1rem;
  --arb-radius-xl: 1.5rem;
  --arb-radius-pill: 999px;
  --arb-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
  --arb-shadow-strong: 0 12px 30px rgba(0, 0, 0, 0.12);
  --arb-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);

  /* Typography */
  --arb-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 'NotoSansDisplay-Regular', sans-serif;
  --arb-font-arabic: 'NotoSansArabic-Regular', sans-serif;
  --arb-font-size-base: 16px;
  --arb-font-size-sm: 0.875rem;
  --arb-font-size-lg: 1.125rem;
  --arb-line-height-base: 1.6;

  /* Spacing scale */
  --arb-space-xs: 0.5rem;
  --arb-space-sm: 0.75rem;
  --arb-space-md: 1rem;
  --arb-space-lg: 1.5rem;
  --arb-space-xl: 3rem;
}

/* =========================
   Reset and Base Styles
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: var(--arb-font-sans);
  background-color: var(--arb-bg) !important;
  color: var(--arb-text-main);
  font-size: var(--arb-font-size-base);
  line-height: var(--arb-line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================
   2. Header Section
   ============================ */

.modern-header {
  background: var(--arb-bg);
  border-bottom: 1px solid var(--arb-border);
  padding: var(--arb-space-sm) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--arb-shadow-sm);
  height: 86px; /* Slightly taller to give logo more vertical space */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80%;
  margin: 0 auto;
  padding: 0 var(--arb-space-lg);
}

.header-logo img {
  height: 60px; /* Increased so logo sits comfortably in taller header */
  width: auto;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: var(--arb-space-xs);
  font-size: var(--arb-font-size-sm);
}

.language-switcher a {
  color: var(--arb-blue);
  text-decoration: none;
  padding: var(--arb-space-xs) var(--arb-space-sm);
  border-radius: var(--arb-radius-sm);
  transition: background-color 0.2s ease;
}

.language-switcher a:hover {
  background-color: var(--arb-blue-light);
}

.language-switcher .separator {
  color: var(--arb-text-muted);
  margin: 0 var(--arb-space-xs);
}

/* ============================
   3. Main Container
   ============================ */

.main-container {
  flex: 1;
  margin-top: 86px; /* matches header height */
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--arb-space-lg) 0;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 146px);
  max-height: calc(100vh - 146px);
}

.content-wrapper {
  display: flex;
  width: 80%;
  max-width: 90%;
  gap: var(--arb-space-lg);
  align-items: flex-start;
  position: relative;
  padding: var(--arb-space-lg) 0;
}

/* Subtle vertical divider */
.content-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  /* background: linear-gradient(to bottom, transparent, #EDEDED 20%, #EDEDED 80%, transparent); */
  transform: translateX(-50%);
  z-index: 1;
}

/* ============================
   4. Information Section (Left Panel)
   ============================ */

.info-section {
  flex: 1;
  max-width: 70%;
  padding: var(--arb-space-md);
  box-sizing: border-box;
}

.carousel-card,
.enquiries-card,
.contact-card {
  background: var(--arb-bg);
  border: 1px solid var(--arb-border);
  border-radius: var(--arb-radius-xl);
  padding: var(--arb-space-md);
  margin-bottom: var(--arb-space-md);
  box-shadow: var(--arb-shadow-soft);
}

.carousel-card {
  padding: 0;
  overflow: hidden;
  display: flex;/*added by babu 15-12-25 to make the login page center the images */
  align-items: center; /*added by babu 15-12-25 to make the login page center the images */
  justify-content: center; /*added by babu 15-12-25 to make the login page center the images */
  
}

.carousel-card .carousel {
  border-radius: var(--arb-radius-xl);
}

.carousel-card img {
  border-radius: var(--arb-radius-xl);
  height: 360px;
  /*object-fit: cover;*/ /*babu removed to fit the images in the login page 15-12-2025*/
  width: 100%;
  display: block;
}

.carousel-indicators {
  bottom: 20px;
  margin-bottom: 0;
  justify-content: center;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.carousel-indicators .active {
  background-color: var(--arb-blue);
  width: 12px;
  height: 12px;
  border-color: var(--arb-bg);
}

.carousel-control-prev,
.carousel-control-next {
  display: none; /* Hide prev/next arrows */
}

.carousel-caption {
  display: none; /* Hide carousel caption background */
}

.section-title {
  font-size: var(--arb-font-size-lg);
  font-weight: 700;
  color: var(--arb-text-main);
  margin: 0 0 var(--arb-space-md) 0;
  padding-bottom: var(--arb-space-xs);
  border-bottom: 2px solid var(--arb-blue-light);
}

/* Enquiries List */
.enquiry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.enquiry-item {
  padding: var(--arb-space-sm) 0;
  border-bottom: 1px solid var(--arb-blue-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.enquiry-item:last-child {
  border-bottom: none;
}

.enquiry-item:hover {
  background-color: var(--arb-blue-light);
  margin: 0 calc(-1 * var(--arb-space-sm));
  padding: var(--arb-space-sm);
  border-radius: var(--arb-radius-sm);
  transform: translateY(-2px);
  box-shadow: var(--arb-shadow-sm);
  transition: all 0.2s ease;
}

.enquiry-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--arb-text-main);
}

.enquiry-content .icon {
  display: inline-block;
  width: 20px; /* Reduced size */
  height: 20px;
  margin-right: 8px; /* Reduced margin */
  vertical-align: middle;
}

.enquiry-content .title {
  font-weight: 600;
  color: var(--arb-blue);
  font-size: var(--arb-font-size-sm);
}

.enquiry-content .subtitle {
  font-size: var(--arb-font-size-sm);
  color: var(--arb-text-muted);
  margin-top: 2px;
}

.enquiry-arrow {
  color: var(--arb-blue);
  font-size: var(--arb-font-size-sm);
}

/* Contact Information */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--arb-space-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--arb-space-sm);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--arb-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-content {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: var(--arb-text-main);
  margin-bottom: 4px;
  font-size: var(--arb-font-size-sm);
}

.contact-value {
  color: var(--arb-text-muted);
  font-size: var(--arb-font-size-sm);
  line-height: 1.3; /* Tighter line height */
}

.contact-value a {
  color: var(--arb-blue);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-button {
  margin-top: var(--arb-space-sm); /* normalized to ARB spacing */
  text-align: center;
}

.btn-contact {
  background: var(--arb-bg);
  border: 2px solid var(--arb-blue);
  color: var(--arb-blue);
  padding: var(--arb-space-xs) var(--arb-space-md);
  border-radius: var(--arb-radius-pill);
  font-size: var(--arb-font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-contact:hover {
  background: var(--arb-blue);
  color: var(--arb-bg);
}

/* ============================
   5. Login Section (Right Panel)
   ============================ */

.login-section {
  flex: 0 0 450px;
  max-width: 50%;
  padding: var(--arb-space-md);
  box-sizing: border-box;
}

.login-card {
  background: var(--arb-bg);
  border: 1px solid var(--arb-border);
  border-radius: var(--arb-radius-xl);
  padding: var(--arb-space-md);
  box-shadow: var(--arb-shadow-soft);
  display: flex;
  flex-direction: column;
}

.login-logo {
  text-align: center;
  margin-bottom: var(--arb-space-md); /* normalized to ARB spacing */
  padding-bottom: var(--arb-space-sm); /* normalized to ARB spacing */
  border-bottom: 1px solid var(--arb-border);
}

.login-logo img {
  height: 50px; /* Reduced height */
  width: auto;
  max-width: 150px; /* Reduced max width */
}

.login-header {
  text-align: center;
  margin-bottom: var(--arb-space-md); /* normalized to ARB spacing */
}

.login-title {
  font-size: var(--arb-font-size-lg);
  font-weight: 700;
  color: var(--arb-text-main);
  margin: 0 0 4px 0;
}

.login-subtitle {
  font-size: var(--arb-font-size-sm);
  color: var(--arb-text-muted);
  margin: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: var(--arb-space-md);
}

.form-label {
  display: block;
  font-size: var(--arb-font-size-sm);
  font-weight: 500;
  color: var(--arb-text-main);
  margin-bottom: var(--arb-space-xs);
  font-family: var(--arb-font-sans);
}

.form-input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: var(--arb-space-sm) var(--arb-space-md);
  border: 1px solid var(--arb-border);
  border-radius: var(--arb-radius-sm);
  font-size: var(--arb-font-size-sm);
  background: var(--arb-bg);
  transition: all 0.3s ease;
  outline: none;
  color: var(--arb-text-main);
}

.form-input::placeholder {
  color: var(--arb-text-muted);
  opacity: 1;
}

.form-input:hover:not(:focus) {
  border-color: var(--arb-text-muted);
}

.form-input:focus {
  border-color: var(--arb-blue);
  box-shadow: 0 0 0 3px rgba(41, 65, 155, 0.1);
}

.input-icon {
  display: none;
}

.form-input:focus + .input-icon {
  display: none;
}

/* Challenge Code Input Group */
.challenge-group {
  display: flex;
  gap: var(--arb-space-sm);
  align-items: flex-end;
}

.challenge-input {
  flex: 1;
}

.challenge-button {
  background: var(--arb-bg);
  border: 1px solid var(--arb-blue);
  color: var(--arb-blue);
  padding: var(--arb-space-sm) var(--arb-space-lg);
  border-radius: var(--arb-radius-pill);
  font-size: var(--arb-font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 44px;
}

.challenge-button:hover {
  background: var(--arb-blue);
  color: var(--arb-bg);
  box-shadow: var(--arb-shadow-sm);
}

/* Login Button */
.login-button {
  width: 100%;
  background: linear-gradient(135deg, var(--arb-blue) 0%, #1e3270 100%);
  border: none;
  color: var(--arb-bg);
  padding: var(--arb-space-md);
  border-radius: var(--arb-radius-pill);
  font-size: var(--arb-font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: var(--arb-space-lg) 0;
  box-shadow: var(--arb-shadow-sm);
}

.login-button:hover {
  background: linear-gradient(135deg, #1e3270 0%, #152347 100%);
  transform: translateY(-1px);
  box-shadow: var(--arb-shadow-strong);
}

.login-button:active {
  transform: translateY(0);
  box-shadow: var(--arb-shadow-sm);
}

/* Secondary Links */
.secondary-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--arb-space-md);
  font-size: var(--arb-font-size-sm);
  padding: var(--arb-space-sm);
  background: var(--arb-blue-light);
  border-radius: var(--arb-radius-sm);
  margin-top: var(--arb-space-sm);
}

.secondary-link {
  color: var(--arb-blue);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.secondary-link:hover {
  text-decoration: underline;
  color: #1e3270;
}

/* ============================
   6. Footer Section
   ============================ */

.modern-footer {
  background: var(--arb-blue-light);
  border-top: 1px solid var(--arb-border);
  padding: var(--arb-space-sm) 0;
  height: 60px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.footer-content {
  text-align: center;
  max-width: 90%px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--arb-space-sm);
  margin-bottom: var(--arb-space-xs);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--arb-blue);
  text-decoration: none;
  font-size: var(--arb-font-size-sm);
  transition: color 0.2s ease;
}

.footer-link:hover {
  text-decoration: underline;
  color: #0039D0;
}

.footer-separator {
  color: var(--arb-text-muted);
  margin: 0 var(--arb-space-xs);
}

.footer-copyright {
  color: var(--arb-text-muted);
  font-size: var(--arb-font-size-sm);
  margin: 0;
}

/* ============================
   7. Responsive Design
   ============================ */

@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column;
    gap: 0; /* Remove gap */
    align-items: stretch;
  }
  
  .content-wrapper::before {
    display: none;
  }
  
  .info-section {
    max-width: 100%;
    order: 2;
  }
  
  .login-section {
    flex: none;
    max-width: 100%;
    order: 1;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 16px;
  }
  
  .main-container {
    height: calc(100vh - 120px); /* Adjust for smaller screens */
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .enquiries-card,
  .contact-card,
  .login-card {
    padding: 12px; /* Further reduced padding */
  }
  
  .login-title {
    font-size: 18px; /* Further reduced */
  }
  
  .secondary-links {
    flex-direction: column;
    text-align: center;
    gap: 8px; /* Reduced gap */
  }
  
  .footer-links {
    flex-direction: column;
    gap: 8px; /* Reduced gap */
  }

  .enquiries-contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .challenge-group {
    flex-direction: column;
    gap: 8px; /* Reduced gap */
  }
  
  .challenge-button {
    height: auto;
    padding: 8px; /* Reduced padding */
  }
  
  .form-input {
    padding-left: 12px; /* Reduced padding */
  }
  
  .input-icon {
    display: none;
  }
}

/* ============================
   8. Accessibility Enhancements
   ============================ */

/* Focus indicators */
.form-input:focus-visible,
.challenge-button:focus-visible,
.login-button:focus-visible,
.btn-contact:focus-visible,
.secondary-link:focus-visible,
.footer-link:focus-visible,
.enquiry-link:focus-visible {
  outline: 2px solid #0046FF;
  outline-offset: 2px;
}

/* Keyboard navigation support */
.form-input:focus,
.challenge-button:focus,
.login-button:focus {
  box-shadow: 0 0 0 2px rgba(0, 70, 255, 0.2); /* Reduced shadow */
}

/* High contrast text */
@media (prefers-contrast: high) {
  .form-label,
  .section-title,
  .login-title {
    font-weight: 700;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .form-input,
  .login-card,
  .enquiries-card,
  .contact-card {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================
   9. Loading Spinner Override
   ============================ */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 32px; /* Reduced size */
  height: 32px;
  border: 3px solid #e0e0e0;
  border-top: 3px solid #0046FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 8px; /* Reduced margin */
}

.loading-text {
  font-size: 12px; /* Reduced font size */
  color: #333;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================
   10. Modal Enhancements
   ============================ */

/* Modal backdrop - behind header */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.modal-backdrop.show {
  opacity: 0.6;
}

/* Modal - above backdrop */
.modal {
  z-index: 1050;
  overflow: hidden !important;
  padding-right: 0 !important;
}

/* Modal dialog — proper spacing from header and footer */
.modal-dialog {
  max-width: 70% !important;
  width: 90% !important;
  margin: 50px auto !important;
  position: relative;
}

/* Security Recommendations modal - narrower width */
.modal-dialog.modal-lg {
  max-width: 55% !important;
  width: 70% !important;
}

/* Enquiry modals - wider width */
.modal-dialog.modal-xl {
  max-width: 70% !important;
  width: 90% !important;
}

.modal-dialog-centered {
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  min-height: auto !important;
}

.modal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: translate(0, 0);
}

.modal-content {
  border-radius: var(--arb-radius-lg);
  border: none;
  box-shadow: var(--arb-shadow-strong);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.modal-header {
  border-bottom: 1px solid var(--arb-border);
  padding: 1rem 1.5rem;
  background-color: var(--arb-bg);
  flex-shrink: 0;
  position: relative;
  min-height: 56px;
}

.modal-title {
  font-weight: 600;
  color: var(--arb-text-main);
  font-size: 1.25rem;
  font-family: var(--arb-font-sans);
  margin: 0;
  padding-right: 100px; /* Space for switch button */
}

/* Switch button in modal header */
.modal-header .enquirySpan {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  margin: 0 !important;
  padding: 0.5rem 1rem;
  color: #bf4500;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid #bf4500;
  border-radius: 6px;
  background-color: transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-header .enquirySpan:hover {
  background-color: #bf4500;
  color: #ffffff;
}

.modal-body {
  padding: 0.75rem 2rem 1rem 2rem;
  font-size: 13px;
  line-height: 1.4;
  color: var(--arb-text-main);
  font-family: var(--arb-font-sans);
  overflow: visible;
}

.modal-body p {
  margin-bottom: 0.4rem;
  font-size: 13px;
  line-height: 1.4;
  color: var(--arb-text-main);
}

.modal-body ul {
  margin: 0.5rem 0;
  padding-left: var(--arb-space-lg);
  list-style-type: disc;
}

.modal-body ul li {
  margin-bottom: 0.25rem;
  font-size: 13px;
  line-height: 1.4;
  color: var(--arb-text-main);
  font-family: var(--arb-font-sans);
}

/* English and Arabic popup content padding */
#popup_en {
  padding: 20px 50px;
}

#popup_ar {
  padding: 20px 50px;
}

/* Arabic modal body styling */
#popup_ar {
  font-family: var(--arb-font-arabic) !important;
  direction: rtl;
  text-align: right;
}

#popup_ar p {
  font-family: var(--arb-font-arabic) !important;
  font-size: var(--arb-font-size-sm);
  line-height: 1.8;
}

#popup_ar ul {
  padding-right: var(--arb-space-lg);
  padding-left: 0;
  list-style-type: disc;
  direction: rtl;
}

#popup_ar ul li {
  font-family: var(--arb-font-arabic) !important;
  font-size: var(--arb-font-size-sm);
  line-height: 1.8;
  text-align: right;
  direction: rtl;
}

.modal-body strong {
  font-weight: 600;
  color: var(--arb-text-main);
}

/* Proceed button styling */
.modal-body .btn-default {
  background-color: #bf4500 !important;
  color: #fff !important;
  border: none !important;
  height: 40px !important;
  min-width: 140px !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(191, 69, 0, 0.2) !important;
  margin-top: 0.5rem !important;
}

.modal-body .btn-default:hover {
  background-color: #a33d00 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(191, 69, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 100px 15px 40px 15px !important;
    width: calc(100% - 30px) !important;
  }
  
  .modal-content {
    max-height: calc(100vh - 140px);
  }
  
  .modal-body {
    padding: 1rem 1.5rem;
    max-height: calc(100vh - 240px);
  }
  
  .modal-title {
    font-size: 1.1rem;
    padding-right: 90px;
  }
  
  .modal-header .enquirySpan {
    padding: 0.4rem 0.8rem;
    font-size: 13px;
  }
}

.btn-primary {
  background: var(--arb-orange);
  border-color: var(--arb-orange);
  border-radius: var(--arb-radius-pill);
  padding: var(--arb-space-sm) var(--arb-space-lg);
  font-weight: 500;
  font-size: var(--arb-font-size-sm);
}

.btn-primary:hover {
  background: #a33d00;
  border-color: #a33d00;
}

/* Preserve existing functionality classes */
.hidden {
  display: none !important;
  visibility: hidden !important;
}

.enquirySpan {
  color: var(--arb-blue);
  font-weight: 500;
}

.alert11 {
  padding: var(--arb-space-sm);
  background-color: var(--arb-blue-light);
  color: var(--arb-text-main);
  border: 1px solid var(--arb-border);
  border-radius: var(--arb-radius-sm);
  margin-top: var(--arb-space-xs);
}

.closebtn {
  margin-left: var(--arb-space-xs);
  color: var(--arb-text-muted);
  font-weight: bold;
  float: right;
  font-size: var(--arb-font-size-base);
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}

.closebtn:hover {
  color: var(--arb-text-main);
}

/* Checkbox styling for modal */
.containerCheckbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: var(--arb-space-sm);
  cursor: pointer;
  font-size: var(--arb-font-size-sm);
  user-select: none;
  line-height: var(--arb-line-height-base);
}

.containerCheckbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--arb-bg);
  border: 2px solid var(--arb-border);
  border-radius: var(--arb-radius-sm);
}

.containerCheckbox:hover input ~ .checkmark {
  background-color: var(--arb-blue-light);
}

.containerCheckbox input:checked ~ .checkmark {
  background-color: var(--arb-orange);
  border-color: var(--arb-orange);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.containerCheckbox input:checked ~ .checkmark:after {
  display: block;
}

.containerCheckbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Arabic checkbox styling */
.containerCheckboxAr {
  display: block;
  position: relative;
  padding-right: 35px;
  margin-bottom: var(--arb-space-sm);
  cursor: pointer;
  font-size: var(--arb-font-size-sm);
  user-select: none;
  line-height: var(--arb-line-height-base);
  text-align: right;
}

.containerCheckboxAr input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmarkAr {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  background-color: var(--arb-bg);
  border: 2px solid var(--arb-border);
  border-radius: var(--arb-radius-sm);
}

.containerCheckboxAr:hover input ~ .checkmarkAr {
  background-color: var(--arb-blue-light);
}

.containerCheckboxAr input:checked ~ .checkmarkAr {
  background-color: var(--arb-orange);
  border-color: var(--arb-orange);
}

.checkmarkAr:after {
  content: "";
  position: absolute;
  display: none;
}

.containerCheckboxAr input:checked ~ .checkmarkAr:after {
  display: block;
}

.containerCheckboxAr .checkmarkAr:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Add this new class to wrap enquiries and contact side by side */
.enquiries-contact-wrapper {
  display: flex;
  gap: var(--arb-space-md);
  height: auto;
}

.enquiries-card,
.contact-card {
  flex: 1;
  margin-bottom: 0;
 /*  height: 100%;  *//* Full height within wrapper */
  display: flex;
  flex-direction: column;
}

.enquiries-card .enquiry-list,
.contact-card .contact-list {
  flex: 1;
  overflow-y: auto;
}