/* ==========================================================================
   ZEO INFINITY PLATFORM - SYSTEM COMPONENT STYLES
   Scoped UI system matching Zeo Infinity's luxury aesthetics
   ========================================================================== */

/* Auth & Modal System */
/* Auth & Modal System */
.zi-auth-container {
  max-width: 440px;
  margin: 120px auto 50px auto;
  padding: 1.75rem 1.75rem;
  background: var(--white, #ffffff);
  border: 1px solid var(--border-color, rgba(0, 103, 232, 0.15));
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 103, 232, 0.08);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .zi-auth-container {
    margin: 100px auto 30px auto;
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
  }
}

body.dark-mode .zi-auth-container {
  background: #0D1322 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

.zi-auth-title {
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--text-dark, #0F172A);
  margin-bottom: 0.25rem;
  font-family: 'Outfit', sans-serif;
}

body.dark-mode .zi-auth-title {
  color: #FFFFFF !important;
}

.zi-auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #64748B);
  margin-bottom: 1.25rem;
}

body.dark-mode .zi-auth-subtitle {
  color: #94A3B8 !important;
}

.zi-form-group {
  margin-bottom: 0.85rem;
  text-align: left;
}

.zi-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark, #0F172A);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.dark-mode .zi-form-label {
  color: #E2E8F0 !important;
}

.zi-form-input {
  width: 100%;
  background: var(--light-bg, #F8FAFC);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dark, #0F172A);
  outline: none;
  transition: all 0.25s ease;
}

body.dark-mode .zi-form-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}

.zi-form-input:focus {
  border-color: #0067E8 !important;
  box-shadow: 0 0 0 3px rgba(0, 103, 232, 0.15) !important;
}

/* Password Field Wrapper & Eye Toggle Button */
.zi-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.zi-password-wrapper .zi-form-input {
  padding-right: 2.5rem !important;
}

.zi-password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: color 0.2s ease;
}

.zi-password-toggle:hover {
  color: #0067E8;
}

body.dark-mode .zi-password-toggle:hover {
  color: #60A5FA;
}

.zi-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #0067E8 0%, #0052BC 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px rgba(0, 103, 232, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.zi-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 103, 232, 0.4);
}

.zi-btn-google {
  width: 100%;
  background: var(--white, #ffffff);
  color: var(--text-dark, #0F172A) !important;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

body.dark-mode .zi-btn-google {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
}

.zi-btn-google:hover {
  background: var(--light-bg, #F8FAFC);
  border-color: #0067E8;
}

/* Alert Notifications */
.zi-alert {
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.zi-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #EF4444;
}

.zi-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981;
}
