/* ==========================================
   MedSign Pro - Auth Stylesheet
   Autor: Jef | Dev: Maglio Consulting
   ========================================== */

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.auth-body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #0e3a56 0%, #1a5276 40%, #2980b9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-container-wide {
    max-width: 600px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(26, 82, 118, 0.3);
}

.auth-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.auth-header p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.auth-form .form-floating {
    margin-bottom: 0;
}

.auth-form .form-control,
.auth-form .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    height: auto;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.12);
}

.auth-form .form-floating label {
    padding: 14px 16px;
    color: #999;
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.4);
}

.auth-link {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #999;
}

/* Alert styles for auth pages */
.auth-card .alert {
    border-radius: 10px;
    border: none;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 575.98px) {
    .auth-card {
        padding: 28px 24px;
        border-radius: 16px;
    }

    .auth-container-wide {
        max-width: 100%;
    }
}
