/* Estilos específicos para páginas de autenticação */

/* Container principal */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body{
    margin: 0;
}

/* Cards de autenticação */
.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.auth-header {
    background-color:black;
    color: white;
    padding: 0 0 0 0;
    text-align: center;
}

.auth-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

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

.auth-body {
    padding: 40px;
}

/* Formulários */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Botões de autenticação */
.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Links de autenticação */
.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.auth-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Mensagens específicas de autenticação */
.auth-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.auth-message.success {
    background-color: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.auth-message.error {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.auth-message.warning {
    background-color: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

/* Tabs de formulário */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.auth-tab:hover:not(.active) {
    color: var(--dark-color);
}

/* Conteúdo das tabs */
.auth-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-tab-content.active {
    display: block;
}

/* Força da senha */
.password-strength-meter {
    margin-top: 8px;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.password-strength-text {
    font-size: 0.8rem;
    margin-top: 5px;
    color: var(--gray-color);
}

/* Termos e condições */
.terms-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid var(--light-gray);
}

.terms-box h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.terms-box p {
    margin: 0 0 10px 0;
    color: var(--gray-color);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Checkbox de termos */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
}

.terms-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.4;
}

.terms-checkbox label a {
    color: var(--accent-color);
    text-decoration: none;
}

.terms-checkbox label a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .auth-container {
        padding: 10px;
    }

    .auth-card {
        max-width: 100%;
    }

    .auth-body {
        padding: 20px;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .auth-tab {
        padding: 10px;
        text-align: left;
    }
}

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