/* Estilos modernos para telas de autenticação */
:root {
    --primary-color: #2F4050;
    --accent-color: #1ab394;
    --error-color: #ed5565;
    --text-color: #333;
    --light-gray: #f3f3f4;
    --white: #ffffff;
    --shadow: 0 0 35px 0 rgba(154,161,171,.15);
    --border-radius: 8px;
}

body.auth-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f2b38 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    margin: 1rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.auth-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.auth-form .input-group {
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    background: white;
    height: 50px;
    display: flex;
    align-items: stretch;
}

.auth-form .input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(26, 179, 148, 0.15);
}

.auth-form .input-group-prepend {
    margin: 0;
    display: flex;
    align-items: center;
}

.auth-form .input-group-text {
    border: none;
    background: transparent;
    color: #718096;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form .form-control {
    height: 50px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: none;
    background: transparent;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}

.auth-form .form-control:focus {
    border: none;
    outline: none;
}

.auth-form .input-group .form-control:focus ~ .input-group-prepend .input-group-text {
    color: var(--accent-color);
}

.auth-form .btn {
    height: 50px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.auth-form .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 6px rgba(26, 179, 148, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-form .btn-primary:hover {
    background-color: #18a689;
    border-color: #18a689;
    transform: translateY(-1px);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: var(--accent-color);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #718096;
    font-size: 0.875rem;
}

.alert {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger {
    background-color: rgba(237, 85, 101, 0.1);
    color: var(--error-color);
}

.alert-success {
    background-color: rgba(26, 179, 148, 0.1);
    color: var(--accent-color);
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-container {
    animation: fadeIn 0.5s ease-out;
}

/* Responsividade */
@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.25rem;
    }
}
