/* 
 * Authentication Page Styles
 * Colors from frontend_colors.css palette:
 * Primary: #145657 (dark teal)
 * Secondary: #80c0bd (light teal) 
 * Accent: #b98d41 (gold)
 * Light: #f6fbfb (very light gray)
 * Dark: #001d1d (very dark teal)
 * Beige: #e8ddbf (light beige)
 */

/* Custom Authentication Button Styles */
.btn-custom {
    background: linear-gradient(135deg, var(--vz-primary) 0%, var(--vz-secondary) 100%);
    border: none;
    color: var(--vz-white);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(var(--vz-primary-rgb), 0.2);
}

.btn-custom:hover {
    background: linear-gradient(135deg, var(--vz-secondary) 0%, var(--vz-primary) 100%);
    color: var(--vz-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--vz-primary-rgb), 0.3);
}

.btn-custom:focus,
.btn-custom:active {
    background: linear-gradient(135deg, var(--vz-secondary) 0%, var(--vz-primary) 100%);
    color: var(--vz-white);
    box-shadow: 0 0 0 0.2rem rgba(var(--vz-secondary-rgb), 0.25);
    outline: none;
}

/* Custom Link Styles for Auth Pages */
a.btn-custom {
    text-decoration: none;
    color: var(--vz-primary);
    font-weight: 600;
}

a.btn-custom:hover {
    color: var(--vz-secondary);
    text-decoration: none;
}

/* Authentication Form Enhancements */
.auth-page-wrapper {
    background: linear-gradient(135deg, var(--vz-light-cream) 0%, var(--vz-body-bg) 100%);
    min-height: 100vh;
}

/* Card Styling for Auth */
.auth-page-wrapper .card {
    border: none;
    box-shadow: var(--vz-card-shadow);
    border-radius: 1rem;
    overflow: hidden;
}

/* Left Side Background Enhancement */
.auth-one-bg .bg-overlay {
    background: linear-gradient(135deg, var(--vz-primary) 0%, var(--vz-secondary) 100%);
    opacity: 0.95;
}

/* Quote Icon Styling */
.ri-double-quotes-l.text-success {
    color: var(--vz-secondary) !important;
}

/* Form Controls */
.form-control {
    border: 2px solid rgba(var(--vz-secondary-rgb), 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--vz-secondary);
    box-shadow: 0 0 0 0.2rem rgba(var(--vz-secondary-rgb), 0.25);
    outline: none;
}

.form-label {
    color: var(--vz-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Password Toggle Button */
.password-addon {
    color: var(--vz-primary) !important;
}

.password-addon:hover {
    color: var(--vz-secondary) !important;
}

/* Checkbox Styling */
.form-check-input:checked {
    background-color: var(--vz-primary);
    border-color: var(--vz-primary);
}

.form-check-input:focus {
    border-color: var(--vz-secondary);
    box-shadow: 0 0 0 0.2rem rgba(var(--vz-secondary-rgb), 0.25);
}

.form-check-label {
    color: var(--vz-primary);
}

/* Links in Auth Forms */
.auth-page-wrapper a:not(.btn) {
    color: var(--vz-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-page-wrapper a:not(.btn):hover {
    color: var(--vz-secondary);
    text-decoration: underline;
}

/* Welcome Text Styling */
.text-primary {
    color: var(--vz-primary) !important;
}

.text-muted {
    color: #80c0bd !important;
}

/* Carousel Indicators */
.carousel-indicators button {
    background-color: #80c0bd;
}

.carousel-indicators button.active {
    background-color: #b98d41;
}

/* Footer in Auth */
.auth-page-wrapper .footer {
    color: var(--vz-primary);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .auth-page-wrapper .card {
        margin: 1rem;
        border-radius: 0.75rem;
    }
    
    .btn-custom {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Loading States */
.btn-custom:disabled {
    background: linear-gradient(135deg, #80c0bd 0%, #e8ddbf 100%);
    color: #145657;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Input Groups */
.auth-pass-inputgroup .form-control {
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
}

.auth-pass-inputgroup .btn {
    border: 2px solid rgba(128, 192, 189, 0.2);
    border-left: none;
    border-radius: 0 0.5rem 0.5rem 0;
    background: transparent;
}

.auth-pass-inputgroup .btn:hover {
    background: rgba(128, 192, 189, 0.1);
}