/* Layout moderno para páginas de autenticação - Velzon + Emprestado */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --auth-primary: #0d9488;
    --auth-primary-hover: #0f766e;
    --auth-bg: #0f172a;
    --auth-card: #1e293b;
    --auth-text: #f8fafc;
    --auth-muted: #94a3b8;
    --auth-border: #334155;
    --auth-input-bg: #0f172a;
}

/* Auth Cover - card centralizado na tela (estilo Velzon) */
body.auth-cover-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 40%, #0a5f5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-cover-page .auth-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-cover-page .auth-page-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.auth-cover-page .card {
    border: none;
    border-radius: 0.5rem;
}

.auth-page {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d9488 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.auth-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.auth-card-header {
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-hover) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-card-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.auth-card-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.auth-card-body {
    padding: 2rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
}

.auth-form .form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.auth-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: 2px solid #cbd5e1;
}

.auth-form .form-check-input:checked {
    background-color: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.auth-form .form-check-label {
    margin-left: 0.5rem;
    font-weight: 500;
    color: #475569;
}

.auth-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-hover) 100%);
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.5);
}

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

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

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.auth-footer a {
    color: var(--auth-primary);
    font-weight: 600;
}

.auth-alert {
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.validation-summary-errors {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.validation-summary-errors li {
    color: #dc2626;
    padding: 0.5rem;
    background: #fef2f2;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}

.field-validation-error {
    font-size: 0.8rem;
    color: #dc2626;
}
