:root {
  /* Colors */
  --primary: #00bcd4;
  --primary-dark: #0097a7;
  --secondary: #ff7588;
  --bg-color: #f4f7fa;
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* Auth Pages Layout - Split Screen */
.login-container {
  min-height: 100vh;
  display: flex;
  background-color: #fff;
}

.auth-illustration {
  flex: 1.2;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.8), rgba(255, 117, 136, 0.4)),
    url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  /* Bali Placeholder */
  background-size: cover;
  background-position: center;
  display: none;
  /* Hidden on mobile */
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .auth-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4rem;
    color: white;
    text-align: center;
  }
}

.auth-illustration::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.illustration-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.illustration-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.auth-card-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--bg-color);
}

.auth-card {
  background: transparent;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

.auth-header {
  padding: 1.5rem 0;
  text-align: left;
  /* Align left for more modern look */
}

.auth-logo {
  max-width: 140px;
  margin: 0 0 2.5rem;
  /* Align left */
}

.auth-title {
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  text-align: left;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.auth-body {
  padding: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
}

/* Neutral Buttons */
.btn-primary {
  width: 100%;
  padding: 1rem;
  background-color: #334155;
  /* Neutral Dark Slate */
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.25);
}

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

/* Accent for secondary actions */
.auth-toggle {
  color: var(--primary);
  /* Teal Accent */
  font-weight: 700;
  cursor: pointer;
}

.btn-link {
  color: var(--secondary);
  /* Pink/Red Accent */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--primary-dark);
}

/* Toggle Link */
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .auth-card-container {
    background: radial-gradient(circle at top right, rgba(0, 188, 212, 0.05), transparent),
      radial-gradient(circle at bottom left, rgba(255, 117, 136, 0.05), transparent);
  }
}

/* Visibility Utilities */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

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

@media (max-width: 576px) {
  .login-container {
    padding: 1rem;
  }

  .auth-header {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .auth-body {
    padding: 0 1.5rem 2.5rem;
  }
}