/* Mail-Pros Authentication Styles */
/* Designed to feel welcoming and calming for stressed office workers */
/* NOW UPDATED: Relief Theme (Light/Hopeful) */

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* Sunlight-to-Sky Gradient */
    background: linear-gradient(135deg, #fef3c7 0%, #dbeafe 50%, #e0e7ff 100%);
}

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 2.5rem;
    /* Light Glass Effect */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.auth-card h2 {
    color: #1e293b;
    /* Slate-800 */
}

/* Form Controls - White with slate borders */
.auth-card .form-control {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    /* Slate-300 */
    color: #1e293b;
    /* Slate-800 */
    border-radius: 10px;
    padding: 1rem 0.75rem;
}

/* Fix for form-floating overlap (Integrated from inline fix) */
.auth-card .form-floating>.form-control {
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
    line-height: 1.25 !important;
    min-height: 3.5rem !important;
}

/* Hide placeholder when not focused (crucial for floating label effect) */
.auth-card .form-floating>.form-control:not(:focus)::placeholder {
    color: transparent !important;
}

/* Ensure label is positioned correctly */
.auth-card .form-floating>label {
    padding: 1rem 0.75rem !important;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #64748b;
    /* Slate-500 */
}

/* Form Focus State */
.auth-card .form-control:focus {
    background-color: #ffffff;
    border-color: #10b981;
    /* Emerald-500 */
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    /* Soft emerald glow */
    color: #1e293b;
}

/* Floating Label Active Color */
.auth-card .form-floating>.form-control:focus~label,
.auth-card .form-floating>.form-control:not(:placeholder-shown)~label {
    color: #059669;
    /* Emerald-600 */
    opacity: 0.85;
}

.auth-card .form-check-input {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.auth-card .form-check-input:checked {
    background-color: #10b981;
    border-color: #10b981;
}

/* Text Colors */
.auth-card .text-muted {
    color: #64748b !important;
    /* Slate-500 */
}

.auth-card .display-4 {
    /* Emoji sizing or similar */
}

/* Button hover effects */
.auth-card .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.auth-card .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

.auth-card .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.auth-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

/* Links */
.auth-card a {
    text-decoration: none;
    transition: color 0.2s;
}

.auth-card a:hover {
    text-decoration: underline;
}