
:root {
  /* Brand Colors */
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #f39c12; /* Warning color as accent */
  --dark-bg: #1a252f;
  --light-bg: #f8f9fa;
  
  /* Text Colors */
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --text-white: #ffffff;
  
  /* Other Colors */
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --border-color: #e0e0e0;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #f8f9fa;
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}

.form-box {
    display: none;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.form-box.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.25);
}

.forgot-password-link {
    text-align: right;
    margin-top: 0.5rem;
    text-decoration: none;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.alert {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Legal Links (Login Tab) */
.legal-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

.legal-links p {
    font-size: 0.875rem;
    margin: 0;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* Terms & Conditions Section */
.terms-group {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.terms-text {
    margin-bottom: 1rem;
}

.terms-text p {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.terms-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Simple Toggle Switch */
.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background-color: #28a745;
}

input:checked + .slider-switch:before {
    transform: translateX(26px);
}

.switch-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 576px) {
    .auth-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .form-box {
        padding: 1rem;
    }
}