/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./src/app/(plain)/(authentication)/auth-advance/auth-pages.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Islamic Windows - Modern Auth Pages */

.auth-pages_authWrapper__k_vcR {
  min-height: 100vh;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  margin: 0 !important;
  width: 100vw !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  transition: background-color 0.5s ease;
}

/* Split Layout - LinkedIn Style */
.auth-pages_splitLayout__0johO {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Left Panel - Login Form */
.auth-pages_leftPanel__WcEmK {
  flex: 0 0 50%;
  /* Back to 50% for desktop split view */
  min-height: 100vh;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
  z-index: 10;
}

.auth-pages_leftPanel__WcEmK::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/loginpage.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
  filter: brightness(1.1) contrast(1.1);
  will-change: transform, opacity;
  transform: translateZ(0);
  /* Trigger GPU acceleration */
}

.auth-pages_leftContainer__46C7B {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* Right Panel - Background Image */
.auth-pages_rightPanel__k9idp {
  flex: 0 0 50%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-pages_backgroundImage__pw1j2 {
  width: 100%;
  height: 100%;
  background-image: url('/bg/login.png');
  background-size: cover;
  background-position: 92% center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@keyframes auth-pages_float__VdD9u {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  33% {
    transform: translateY(-30px) translateX(10px);
  }

  66% {
    transform: translateY(20px) translateX(-10px);
  }
}

.auth-pages_logoContainer__EwH4m {
  animation: auth-pages_fadeInDown__95liA 0.8s ease-out;
  margin-bottom: 2rem;
  text-align: left;
}

.auth-pages_logoImage__M4IBb {
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-pages_logoImage__M4IBb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-pages_formContainer__hn9RF {
  width: 100%;
  animation: auth-pages_fadeIn__Akpbc 0.8s ease-out;
}

.auth-pages_welcomeTitle__zQykL {
  font-size: 2.25rem;
  font-weight: 700;
  color: #000000 !important;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4);
}

.auth-pages_welcomeSubtitle__iM3NJ {
  font-size: 1.1rem;
  color: #1e293b !important;
  margin-bottom: 2rem;
  font-weight: 600 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.auth-pages_mainTitle__jNZxa {
  animation: auth-pages_fadeInDown__95liA 1s ease-out;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
  z-index: 20;
  margin-bottom: 0.25rem !important;
}

.auth-pages_subtitle__ar65o {
  animation: auth-pages_fadeInDown__95liA 1.2s ease-out;
  font-weight: 400;
  margin-bottom: 0.5rem !important;
  position: relative;
  z-index: 20;
}

.auth-pages_decorativeLine__nUNFZ {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: auth-pages_fadeIn__Akpbc 1.2s ease-out;
  position: relative;
  z-index: 20;
}

.auth-pages_crescentIcon__qy0KY {
  font-size: 1.5rem;
  animation: auth-pages_glow__y6Oe1 2s ease-in-out infinite;
  position: relative;
  z-index: 20;
}

@keyframes auth-pages_glow__y6Oe1 {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.auth-pages_quoteContainer__twQxI {
  animation: auth-pages_fadeIn__Akpbc 1.4s ease-out;
  font-style: italic;
  margin-bottom: 0.75rem !important;
  position: relative;
  z-index: 20;
}

.auth-pages_authCard__CbJA7 {
  background: rgba(255, 255, 255, 0.2) !important;
  -webkit-backdrop-filter: blur(2px) !important;
          backdrop-filter: blur(2px) !important;
  /* Reduced blur for performance */
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: auth-pages_slideUp__lIU3G 0.6s ease-out;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20;
  margin-top: 1.5rem;
  will-change: transform, opacity;
  transform: translateZ(0);
  /* Optimize rendering */
}

.auth-pages_authCard__CbJA7:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Force Green Buttons in Auth Cards */
.auth-pages_submitButton__tks0c,
.auth-pages_authCard__CbJA7 button[type="submit"].auth-pages_submitButton__tks0c {
  background-color: #10b981 !important;
  background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
}

.auth-pages_submitButton__tks0c:hover,
.auth-pages_authCard__CbJA7 button[type="submit"].auth-pages_submitButton__tks0c:hover {
  background-color: #059669 !important;
  background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
  filter: brightness(1.1) !important;
}

.auth-pages_submitButton__tks0c:active {
  background-color: #047857 !important;
  transform: translateY(0) !important;
}

.auth-pages_submitButton__tks0c:disabled {
  background-color: #cbd5e1 !important;
  background-image: none !important;
  opacity: 0.7 !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

@keyframes auth-pages_fadeInDown__95liA {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-pages_fadeIn__Akpbc {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes auth-pages_slideUp__lIU3G {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-pages_cardTitle__WBCsI {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.auth-pages_cardSubtitle__kE_gR {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
}

.auth-pages_cardLink__aplAE {
  color: #0a66c2;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.auth-pages_cardLink__aplAE:hover {
  color: #004182;
  text-decoration: underline;
}

.auth-pages_cardLink__aplAE::after {
  display: none;
}

/* Form Input Styling - Modern Transparent Style */
.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF,
.auth-pages_authCard__CbJA7 textarea.auth-pages_form-control__3bJJF,
.auth-pages_authCard__CbJA7 select.auth-pages_form-control__3bJJF {
  background: rgba(255, 255, 255, 0.1) !important;
  background-image: none !important;
  color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  font-weight: 700 !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF:focus,
.auth-pages_authCard__CbJA7 textarea.auth-pages_form-control__3bJJF:focus,
.auth-pages_authCard__CbJA7 select.auth-pages_form-control__3bJJF:focus {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  border-color: #000000 !important;
  box-shadow: 0 0 0 1px #000000 !important;
  outline: none !important;
}

.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF::placeholder,
.auth-pages_authCard__CbJA7 textarea.auth-pages_form-control__3bJJF::placeholder,
.auth-pages_authCard__CbJA7 select.auth-pages_form-control__3bJJF::placeholder {
  color: rgba(0, 0, 0, 0.6) !important;
  font-weight: 400 !important;
}

/* Autofill override */
.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF:-webkit-autofill,
.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF:-webkit-autofill:hover,
.auth-pages_authCard__CbJA7 input.auth-pages_form-control__3bJJF:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.6) !important;
}

/* Input password eye icon */
.auth-pages_authCard__CbJA7 .auth-pages_position-absolute__EJxf9 svg {
  color: #64748b;
  cursor: pointer;
  transition: color 0.3s ease;
}

.auth-pages_authCard__CbJA7 .auth-pages_position-absolute__EJxf9 svg:hover {
  color: #667eea;
}

/* Checkbox styling */
.auth-pages_authCard__CbJA7 .auth-pages_form-check-input__cIDWR {
  background-color: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  cursor: pointer;
}

.auth-pages_authCard__CbJA7 .auth-pages_form-check-input__cIDWR:checked {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}

.auth-pages_authCard__CbJA7 .auth-pages_form-check-label__jfOAT {
  color: #475569;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Dropzone styling for profile photo */
.auth-pages_authCard__CbJA7 .auth-pages_profile-dropzone__bSnpP {
  background-color: #f8fafc !important;
  border: 2px dashed #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0.5rem !important;
  /* Reduced padding */
  transition: all 0.3s ease;
  min-height: auto !important;
}

.auth-pages_authCard__CbJA7 .auth-pages_profile-dropzone__bSnpP:hover {
  border-color: #667eea !important;
  background-color: #f1f5f9 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.auth-pages_authCard__CbJA7 .auth-pages_dropzone__txjZz .auth-pages_dz-message__bzSrT {
  margin: 0 !important;
  padding: 0.5rem !important;
  text-align: center;
}

.auth-pages_authCard__CbJA7 .auth-pages_dropzone__txjZz .auth-pages_dz-message__bzSrT svg {
  color: #10b981;
  /* Green icon */
  margin-bottom: 0.1rem;
  font-size: 1.2rem;
}

.auth-pages_hiddenOnMobile__c_FLU {
  display: block;
}

.auth-pages_authCard__CbJA7 .auth-pages_dropzone__txjZz .auth-pages_dz-message__bzSrT p {
  margin: 0 !important;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Profile preview adjustments */
.auth-pages_authCard__CbJA7 .auth-pages_profile-dropzone__bSnpP .auth-pages_text-center__pjFSa>div {
  margin-bottom: 0.5rem;
}

/* Language Switcher on Auth Pages */
.auth-pages_languageSwitcher__3l0ge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

.auth-pages_languageSwitcherMobile__OmQnM {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-pages_authWrapper__k_vcR button {
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Responsive Design */

/* Tablet and below - Stack layout */
@media (max-width: 992px) {
  .auth-pages_splitLayout__0johO {
    flex-direction: column;
  }

  .auth-pages_leftPanel__WcEmK {
    flex: 1 1;
    width: 100%;
    min-height: 100vh;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent !important;
  }

  .auth-pages_welcomeTitle__zQykL {
    font-size: 1.5rem;
    /* Smaller font */
    text-align: center;
    margin-bottom: 0.25rem;
  }

  .auth-pages_logoContainer__EwH4m {
    display: none !important;
    /* Hide logo on small screens to save space */
  }

  .auth-pages_welcomeSubtitle__iM3NJ {
    display: none !important;
    /* Hide subtitle on small screens */
  }

  .auth-pages_rightPanel__k9idp {
    display: none !important;
  }

  .auth-pages_languageSwitcher__3l0ge {
    top: 0.10rem !important;
    right: 0.75rem !important;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .auth-pages_leftPanel__WcEmK {
    padding: 1rem;
  }

  .auth-pages_logoContainer__EwH4m {
    display: none !important;
  }

  .auth-pages_welcomeTitle__zQykL {
    font-size: 1.5rem;
    margin-bottom: 0.1rem !important;
  }

  .auth-pages_welcomeSubtitle__iM3NJ {
    display: none !important;
  }

  .auth-pages_cardTitle__WBCsI {
    font-size: 1.35rem;
  }

  .auth-pages_authCard__CbJA7 {
    border-radius: 12px;
    margin-top: 0.5rem !important;
  }

  .auth-pages_authCard__CbJA7 .auth-pages_profile-dropzone__bSnpP {
    padding: 0.2rem !important;
    min-height: 40px !important;
  }

  .auth-pages_authCard__CbJA7 .auth-pages_dropzone__txjZz .auth-pages_dz-message__bzSrT p {
    font-size: 0.75rem !important;
  }
}

/* Mobile Medium */
@media (max-width: 576px) {
  .auth-pages_leftPanel__WcEmK {
    padding: 0.75rem;
  }

  .auth-pages_welcomeTitle__zQykL {
    font-size: 1.25rem;
    margin-bottom: 0.1rem !important;
  }

  .auth-pages_welcomeSubtitle__iM3NJ {
    display: none !important;
  }

  .auth-pages_cardTitle__WBCsI {
    font-size: 1.25rem;
  }

  .auth-pages_cardSubtitle__kE_gR {
    font-size: 0.85rem;
    margin-bottom: 0.25rem !important;
  }

  .auth-pages_authCard__CbJA7 {
    margin-top: 5px !important;
    padding: 5px !important;
  }

  .auth-pages_authCard__CbJA7 .auth-pages_p-4__QFnwR {
    padding: 0.75rem !important;
  }

  .auth-pages_authCard__CbJA7 .auth-pages_profile-dropzone__bSnpP {
    padding: 0.15rem !important;
    min-height: 35px !important;
    border-style: solid !important;
  }

  .auth-pages_hiddenOnMobile__c_FLU {
    display: none !important;
  }
}

/* High-End 'Radiant Emerald' Success Animation - Refined */
.auth-pages_successOverlay__gObn1 {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: rgba(3, 30, 18, 0.98);
  /* Richer, darker emerald */
  backdrop-filter: blur(35px) saturate(220%);
  -webkit-backdrop-filter: blur(35px) saturate(220%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 20px;
  /* Match the card's radius better */
  overflow: hidden;
  animation: auth-pages_elegantFadeIn__vuChQ 0.5s ease-out forwards;
}

@keyframes auth-pages_elegantFadeIn__vuChQ {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-pages_successContent__i16pj {
  position: relative;
  text-align: center;
  z-index: 5;
  width: 90%;
  margin: 0 auto;
}

.auth-pages_checkmarkWrapper__Htb7_ {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto 25px;
  position: relative;
  background: rgba(16, 185, 129, 0.03);
  overflow: hidden;
}

.auth-pages_liquidFill__BgNoz {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  animation: auth-pages_liquidFillAnim__0vnHR 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.2s;
}

@keyframes auth-pages_liquidFillAnim__0vnHR {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

.auth-pages_checkmark__LRKKx {
  width: 55px;
  height: 27px;
  border-left: 8px solid white;
  border-bottom: 8px solid white;
  transform: rotate(-45deg) scale(0);
  z-index: 3;
  margin-top: -12px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: auth-pages_checkPop__7ADW0 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.7s;
}

@keyframes auth-pages_checkPop__7ADW0 {
  to {
    transform: rotate(-45deg) scale(1);
  }
}

.auth-pages_successText__evsWH {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem !important;
  margin: 0;
  text-transform: uppercase;
  display: block !important;
  text-align: center;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  line-height: 1.5;
}

.auth-pages_successText__evsWH span {
  display: inline-block;
  color: #ffffff !important;
  opacity: 0;
  transform: translateY(10px);
  animation: auth-pages_letterReveal__t2Xvv 0.4s ease-out forwards;
}

@keyframes auth-pages_letterReveal__t2Xvv {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.auth-pages_successSubtext__6_GS9 {
  color: #10b981 !important;
  /* Brighter, more readable green */
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: auth-pages_fadeInUpSuccess__ISsHM 0.5s ease-out forwards 1.1s;
}

@keyframes auth-pages_fadeInUpSuccess__ISsHM {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-pages_successOverlay__gObn1::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 55%,
      transparent 100%);
  transform: rotate(-45deg);
  animation: auth-pages_shimmerFlow__guBdG 3.5s linear infinite;
  z-index: 2;
}

@keyframes auth-pages_shimmerFlow__guBdG {
  0% {
    transform: translateX(-30%) rotate(-45deg);
  }

  100% {
    transform: translateX(30%) rotate(-45deg);
  }
}

.auth-pages_successOverlay__gObn1::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 80%);
  z-index: 1;
  animation: auth-pages_pulseAura__qDGcy 4s ease-in-out infinite;
}

@keyframes auth-pages_pulseAura__qDGcy {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/components/LanguageSwitcher.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************/
/* Remove Bootstrap dropdown caret/arrow */
.no-caret::after {
  display: none !important;
}

.no-caret {
  position: relative;
}

/* Language Switcher Toggle - Light Mode */
.language-switcher-toggle,
.btn.language-switcher-toggle {
  border-radius: 50px !important;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600 !important;
  border: 1px solid var(--bs-border-color, #e2e8f0) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
  background: var(--bs-body-bg, #fff) !important;
  color: var(--bs-body-color, #000) !important;
}

/* Language Switcher Toggle - Dark Mode */
[data-bs-theme="dark"] .language-switcher-toggle,
[data-bs-theme="dark"] .btn.language-switcher-toggle,
[data-bs-theme="dark"] .btn-light.language-switcher-toggle {
  background: #2d3748 !important;
  color: #ffffff !important;
  border-color: #4a5568 !important;
}

[data-bs-theme="dark"] .language-switcher-toggle span,
[data-bs-theme="dark"] .btn.language-switcher-toggle span,
[data-bs-theme="dark"] .dropdown-toggle.language-switcher-toggle span {
  color: #ffffff !important;
}

/* Hover and focus states for dark mode */
[data-bs-theme="dark"] .language-switcher-toggle:hover,
[data-bs-theme="dark"] .btn.language-switcher-toggle:hover,
[data-bs-theme="dark"] .language-switcher-toggle:focus {
  background: #374151 !important;
  color: #ffffff !important;
  border-color: #667eea !important;
}

/* Active/pressed state for dark mode */
[data-bs-theme="dark"] .language-switcher-toggle:active,
[data-bs-theme="dark"] .btn.language-switcher-toggle:active,
[data-bs-theme="dark"] .language-switcher-toggle.show {
  background: #374151 !important;
  color: #ffffff !important;
}

/* Language Switcher Select2 Style */
.language-switcher-select2 {
  z-index: 1000;
}

.language-select__menu {
  z-index: 10000 !important;
}

.language-select__menu-portal {
  z-index: 10000 !important;
}

/* Ensure menu portal is visible */
body>div[id*="react-select"] {
  z-index: 10000 !important;
  overflow: visible !important;
}

body>div[id*="react-select"]>div {
  overflow: visible !important;
}

.language-select__menu-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-gap: 0.25rem !important;
  gap: 0.25rem !important;
}

.language-select__menu-list::-webkit-scrollbar {
  width: 6px;
}

.language-select__menu-list::-webkit-scrollbar-track {
  background: transparent;
}

.language-select__menu-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.language-select__menu-list::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.language-select__option {
  margin: 0 !important;
}

/* Language Switcher Select2 - Dark Mode */
[data-bs-theme="dark"] .language-select__control {
  background: #2d3748 !important;
  border-color: #4a5568 !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .language-select__single-value {
  color: #fff !important;
}

[data-bs-theme="dark"] .language-select__menu {
  background: #1a1d29 !important;
  border-color: #2d3748 !important;
}

[data-bs-theme="dark"] .language-select__option {
  background: transparent !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .language-select__option--is-focused {
  background: #2d3748 !important;
}

[data-bs-theme="dark"] .language-select__option--is-selected {
  background: #667eea !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .language-select__dropdown-indicator {
  color: #fff !important;
}

[data-bs-theme="dark"] .language-select__menu-list::-webkit-scrollbar-thumb {
  background: #4a5568;
}

[data-bs-theme="dark"] .language-select__menu-list::-webkit-scrollbar-thumb:hover {
  background: #718096;
}

[data-bs-theme="dark"] .language-switcher-menu .language-switcher-item {
  color: var(--bs-light, #fff) !important;
}

[data-bs-theme="dark"] .language-switcher-menu .language-switcher-item span {
  color: var(--bs-light, #fff) !important;
}

/* Simple variant scrollbar styling */
.language-switcher-simple-container::-webkit-scrollbar {
  height: 6px;
}

.language-switcher-simple-container::-webkit-scrollbar-track {
  background: transparent;
}

.language-switcher-simple-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.language-switcher-simple-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Language Switcher Item */
.language-switcher-item {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.language-switcher-item.active {
  font-weight: 600;
  background: var(--bs-primary) !important;
  color: white !important;
}

.language-switcher-item.active span {
  color: white !important;
}

/* Dark Mode - Item hover */
[data-bs-theme="dark"] .language-switcher-item:hover {
  background: var(--bs-secondary-bg, #2d3748) !important;
}

[data-bs-theme="dark"] .language-switcher-item.active {
  background: var(--bs-primary) !important;
  color: white !important;
}

/* Dropdown menu animations */
.dropdown-menu {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive grid for language menu */
@media (max-width: 767.98px) {
  .language-menu-list-responsive {
    grid-template-columns: 1fr !important;
    max-height: min(350px, 60vh) !important;
  }

  .language-select__menu {
    min-width: 200px !important;
    max-width: calc(100vw - 2rem) !important;
  }
}

@media (max-width: 575.98px) {
  .language-menu-list-responsive {
    max-height: min(300px, 50vh) !important;
    padding: 0.35rem !important;
  }

  .language-select__option {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .language-select__menu {
    min-width: 220px !important;
  }
}
