/* --- LOGIN SLIDER CSS (v3 - Themed & Detailed) --- */

:root {
  --theme-1-primary: #3b82f6;
  --theme-2-primary: #10b981;
  --theme-3-primary: #8b5cf6;
  --text-light: #ffffff;
  --text-dark: #1f2937;
  --card-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  --border-radius-lg: 1.5rem;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.login-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
}

.login-slide.active {
  opacity: 1;
}

.login-slide-1 { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1579684385127-6ab18a5d7814?auto=format&fit=crop&w=2070&q=80'); }
.login-slide-2 { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?auto=format&fit=crop&w=2070&q=80'); }
.login-slide-3 { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=2070&q=80'); }

.login-card {
  display: flex;
  width: 100%;
  max-width: 960px;
  min-height: 600px;
  background: rgba(17, 25, 40, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.125);
  color: var(--text-light);
  overflow: hidden;
  z-index: 10;
}

.info-panel {
  flex-basis: 50%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.info-panel-content {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.info-panel-content.active {
  position: relative;
  opacity: 1;
}

.login-panel {
  flex-basis: 50%;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  font-size: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.feature-list .bi {
  font-size: 1.5rem;
  margin-right: 1.2rem;
  margin-top: 0.2rem;
  transition: color 0.5s ease;
}

.theme-1 .feature-list .bi { color: var(--theme-1-primary); }
.theme-2 .feature-list .bi { color: var(--theme-2-primary); }
.theme-3 .feature-list .bi { color: var(--theme-3-primary); }

.btn-primary {
  padding: 0.9rem;
  font-weight: 700;
  transition: background-color 0.5s ease;
  border: none;
}

.theme-1 .btn-primary { background-color: var(--theme-1-primary); }
.theme-1 .btn-primary:hover { background-color: #2563eb; }

.theme-2 .btn-primary { background-color: var(--theme-2-primary); }
.theme-2 .btn-primary:hover { background-color: #059669; }

.theme-3 .btn-primary { background-color: var(--theme-3-primary); }
.theme-3 .btn-primary:hover { background-color: #7c3aed; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
}

.dot.active {
  background: var(--text-light);
  transform: scale(1.2);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .login-container {
    align-items: flex-start;
  }
  .login-card {
    flex-direction: column;
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    background: rgba(17, 25, 40, 0.85);
  }
  .info-panel {
    display: none !important;
  }
  .login-panel {
    flex-basis: 100%;
    width: 100%;
    padding: 2rem 1.5rem 4rem;
    background: transparent;
  }
  .login-form-container {
    width: 100%;
    max-width: 100%;
  }
  .slider-dots {
    display: none !important;
  }
}
.mobile-features .card {
  background: #ffffff;
  border-radius: 1rem;
}
.mobile-features .card-title {
  font-size: 1.25rem;
}
