/* Estilos específicos para páginas de login e cadastro */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 2rem 0;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 0 1rem;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.auth-card:hover {
    border-color: #ff0000;
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.2);
}

.auth-header {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.auth-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.auth-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-body {
    padding: 2.5rem 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    background: #f9f9f9;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #ff0000;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

.auth-form .form-control::placeholder {
    color: #999;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-alert.alert-danger {
    background: #fee;
    color: #c00;
    border: 2px solid #fcc;
}

.auth-alert.alert-success {
    background: #efe;
    color: #0a0;
    border: 2px solid #cfc;
}

.auth-footer {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    margin: 0;
    color: #666;
}

.auth-footer a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-footer a:hover {
    color: #cc0000;
    text-decoration: underline;
}

.auth-logo {
    margin-bottom: 1rem;
    font-size: 3rem;
}

/* Animação de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: slideIn 0.5s ease-out;
}

/* Input com ícone */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon .form-control {
    padding-left: 3rem;
}

/* Divisor */
.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: #999;
    font-size: 0.9rem;
}
