@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-container {
    max-width: 450px;
    width: 100%;
}

.login-card {
    background-color: var(--card-background);
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 2.5rem 2rem 1rem 2rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-color);
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.card-body {
    padding: 1rem 2rem 2.5rem 2rem;
}

.form-control {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

input[disabled].form-control {
    background-color: #e9ecef;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background-color: #a0a0a0;
    border-color: #a0a0a0;
}

.forgot-password-link {
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Força a exibição da mensagem de erro de confirmação de senha */
#confirmar_senha:invalid + #confirmar-senha-feedback {
    display: block;
}
