:root {
    --primary-color: #29ABE2;
    /* azul médio – cor principal */
    --primary-hover: #0071BC;
    /* azul escuro – hover e foco */
    --gradient-start: #43D2FF;
    /* azul claro – início do gradiente */
    --gradient-end: #0071BC;
    /* azul escuro – fim do gradiente */
    --success-color: #10b981;
    /* verde de sucesso, se quiser manter */
}


body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 10% 20%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
    min-height: 100vh;
}

.LP {
    color: #10b981;
    font-weight: bold;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.medical-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.auth-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.auth-header h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.auth-body {
    padding: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
}

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

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.logo {
    transition: transform 0.3s ease;
    width: 120px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

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

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-icon input {
    padding-left: 45px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #94a3b8;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.forgot-password {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

@media (max-width: 576px) {
    .auth-card {
        margin: 0;
    }

    .auth-body {
        padding: 1.5rem;
    }

    .logo {
        width: 100px;
    }
}

/* Animação personalizada para o ícone médico */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.medical-icon {
    animation: pulse 2s infinite;
    color: var(--primary-color);
}