/* ============================================
   SISTEMA DE GESTÃO DE CRÉDITO - Auth Styles
   ============================================ */

/* ============================================
   VARIÁVEIS E CORES
   ============================================ */
:root {
    --primary-color: #5f7bff;
    --primary-dark: #435dd6;
    --primary-light: #eef2ff;
    --secondary-color: #708099;
    --success-color: #27c498;
    --danger-color: #e15671;
    --warning-color: #f6c154;
    --info-color: #4fb3ff;
    
    --bg-gradient-start: #f8fbff;
    --bg-gradient-middle: #eef3ff;
    --bg-gradient-end: #e7f0ff;
    
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 18px 55px rgba(31, 45, 71, 0.08);
    --card-radius: 18px;
    
    --text-primary: #1f2a44;
    --text-secondary: #5b6b83;
    --text-light: #93a0b8;
    
    --border-color: #e6ebff;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET E GLOBALS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-bg {
    background: linear-gradient(135deg, #0f1c35 0%, #142544 45%, #1b2d56 75%, #243a6b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    padding: 24px;
    position: relative;
    overflow-x: hidden;
}

body.auth-bg::before,
body.auth-bg::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body.auth-bg::before {
    background: radial-gradient(circle at 20% 20%, rgba(79, 179, 255, 0.08), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(39, 196, 152, 0.08), transparent 38%);
    filter: blur(8px);
    animation: float 22s ease-in-out infinite;
}

body.auth-bg::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0.6;
    mix-blend-mode: screen;
}

#app {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 100%;
    flex-grow: 1;
}

/* Footer nas páginas públicas - apenas texto cinza claro */
#app .footer {
    margin-top: auto;
    background-color: transparent;
    border: none;
    padding: 20px 0;
}

#app .footer .text-muted {
    color: #d0d0d0 !important;
}

#app .footer a.text-muted {
    color: #e8e8e8 !important;
    transition: color 0.3s ease;
}

#app .footer a.text-muted:hover {
    color: #ffffff !important;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 550px;
    }
}

/* ============================================
   CARD DE AUTENTICAÇÃO
   ============================================ */
.auth-card {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 50px;
    box-shadow: var(--card-shadow);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 235, 255, 0.9);
    transition: var(--transition);
}

.auth-card:hover {
    box-shadow: 0 26px 70px rgba(31, 45, 71, 0.14);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .auth-card {
        padding: 35px 25px;
        border-radius: 16px;
    }
}

/* ============================================
   HEADER DO CARD
   ============================================ */
.auth-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    display: block;
    margin: 0 auto 30px;
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: var(--transition);
}

.auth-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.auth-title {
    font-size: 27px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ============================================
   FORMULÁRIO
   ============================================ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

/* ============================================
   LABELS
   ============================================ */
.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.label-text {
    flex: 1;
}

.icon-label {
    color: var(--primary-color);
    font-size: 13px;
    opacity: 0.7;
    margin-left: 6px;
}

.form-text {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   INPUT WRAPPER
   ============================================ */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.input-wrapper:focus-within {
    transform: translateY(-1px);
}

.input-wrapper .form-control {
    width: 100%;
    padding-right: 42px;
}

.input-icon {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.input-icon.toggle-password {
    cursor: pointer;
    pointer-events: all;
    color: var(--primary-color);
}

.input-icon.toggle-password:hover {
    transform: scale(1.15);
    color: var(--primary-dark);
}

/* ============================================
   INPUTS
   ============================================ */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    background-color: #f8fafb;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder {
    color: #a8b3c1;
    font-weight: 400;
}

.form-control:hover {
    border-color: #ccd5f0;
    background-color: #fafbff;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #fafbff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    padding-right: 42px;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-color: #fff5f5;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* ============================================
   FEEDBACK DE ERRO
   ============================================ */
.invalid-feedback {
    display: block;
    font-size: 12px;
    color: var(--danger-color);
    font-weight: 500;
    margin-top: 4px;
    animation: slideDown 0.3s ease-out;
}

/* ============================================
   CHECKBOX CUSTOMIZADO
   ============================================ */
.form-check-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.form-check-input-custom {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background-color: #f8fafb;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-check-input-custom:hover {
    border-color: var(--primary-color);
    background-color: #fafbff;
}

.form-check-input-custom:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-check-input-custom:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-check-label-custom {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.form-check-label-custom:hover {
    color: var(--text-primary);
}

/* ============================================
   BOTÃO PRIMÁRIO
   ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, #0f1c35 0%, #1b2d56 60%, #243a6b 100%);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 10px;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0c1529 0%, #162541 60%, #1f315a 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 28, 53, 0.32);
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(15, 28, 53, 0.28);
}

.btn-text {
    flex: 1;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-primary-custom:hover .btn-icon {
    transform: translateX(3px);
}

/* ============================================
   LINKS DE AUTENTICAÇÃO
   ============================================ */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* ============================================
   ELEMENTOS DELICADOS E STATUS
   ============================================ */
.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(95, 123, 255, 0.15), rgba(79, 179, 255, 0.15));
    color: var(--primary-dark);
    border: 1px solid rgba(95, 123, 255, 0.2);
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.eyebrow-pill .pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 0 6px rgba(39, 196, 152, 0.15);
}

.auth-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(239, 243, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(95, 123, 255, 0.12);
}

.meta-soft {
    background: rgba(39, 196, 152, 0.08);
    color: var(--success-color);
    border-color: rgba(39, 196, 152, 0.2);
}

/* ============================================
   HOME / WELCOME HERO
   ============================================ */
.welcome-hero {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    align-items: center;
}

.welcome-card {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 36px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(230, 235, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.welcome-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(95, 123, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.welcome-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 10px 0;
    letter-spacing: -0.4px;
}

.welcome-lead {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.welcome-actions .btn {
    min-width: 160px;
}

.welcome-actions .btn-primary {
    background: linear-gradient(135deg, #0f1c35 0%, #1b2d56 60%, #243a6b 100%);
    border-color: #0f1c35;
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 28, 53, 0.18);
}

.welcome-actions .btn-primary:hover,
.welcome-actions .btn-primary:focus {
    background: linear-gradient(135deg, #0c1529 0%, #162541 60%, #1f315a 100%);
    border-color: #0c1529;
    color: #fff;
}

.welcome-actions .btn-outline-primary {
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.08), rgba(27, 45, 86, 0.08));
    border-color: #1b2d56;
    color: #1b2d56;
}

.welcome-actions .btn-outline-primary:hover,
.welcome-actions .btn-outline-primary:focus {
    background: linear-gradient(135deg, #0f1c35 0%, #1b2d56 60%, #243a6b 100%);
    color: #fff;
    border-color: #0f1c35;
    box-shadow: 0 12px 24px rgba(15, 28, 53, 0.18);
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.welcome-stat {
    padding: 12px 14px;
    background: rgba(239, 243, 255, 0.8);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.welcome-stat strong {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
}

.welcome-stat span {
    color: var(--text-secondary);
    font-size: 13px;
}

.link-secondary {
    font-size: 13px;
    color: #1b2d56;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.04), rgba(27, 45, 86, 0.05));
}

.link-secondary:hover {
    color: #0f1c35;
    transform: translateX(-2px);
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.08), rgba(27, 45, 86, 0.1));
}

.link-divider {
    color: #dee2e6;
    font-size: 12px;
}

/* ============================================
   FOOTER DO CARD
   ============================================ */
.auth-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.link-primary {
    color: #0f1c35;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.06), rgba(27, 45, 86, 0.08));
    padding: 6px 10px;
    border-radius: 10px;
}

.link-primary::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 10px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0f1c35, #243a6b);
    transition: width 0.3s ease;
}

.link-primary:hover {
    color: #0b1427;
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.12), rgba(27, 45, 86, 0.14));
}

.link-primary:hover::after {
    width: calc(100% - 20px);
}

.link-small {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.link-small:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   TERMOS
   ============================================ */
.auth-terms {
    text-align: center;
    padding-top: 15px;
}

.terms-text {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.6;
}

/* ============================================
   PAINEL LATERAL (SIDE PANEL)
   ============================================ */
.auth-side-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 1px solid rgba(230, 235, 255, 0.9);
    box-shadow: var(--card-shadow);
}

@media (max-width: 1024px) {
    .auth-side-panel {
        display: none;
    }
}

.side-content {
    text-align: center;
    color: var(--text-primary);
}

.side-icon {
    font-size: 72px;
    margin-bottom: 30px;
    color: var(--primary-color);
    opacity: 0.92;
    animation: float 3s ease-in-out infinite;
}

.side-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.side-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 320px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(4px);
    color: var(--text-primary);
}

.feature i {
    font-size: 18px;
    min-width: 20px;
    color: var(--primary-color);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-shake {
    animation: shake 0.3s ease-out;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .auth-title {
        font-size: 24px;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .btn-primary-custom {
        padding: 12px 20px;
        font-size: 14px;
    }

    .auth-links {
        flex-direction: column;
        gap: 8px;
    }

    .link-secondary {
        font-size: 12px;
    }

    .link-divider {
        display: none;
    }

    /* Responsividade para Welcome Page */
    .welcome-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .welcome-card {
        padding: 28px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .welcome-lead {
        font-size: 14px;
    }

    .welcome-actions .btn {
        min-width: 140px;
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 640px) {
    .welcome-hero {
        gap: 20px;
        padding: 0 12px;
    }

    .welcome-card {
        padding: 24px;
        border-radius: 16px;
    }

    .welcome-title {
        font-size: 20px;
        margin: 8px 0;
    }

    .welcome-lead {
        font-size: 13px;
        max-width: 100%;
    }

    .welcome-actions {
        gap: 10px;
        margin-top: 16px;
    }

    .welcome-actions .btn {
        flex: 1;
        min-width: auto;
        font-size: 13px;
        padding: 10px 12px;
    }

    .side-text {
        max-width: 100%;
    }

    .side-title {
        font-size: 24px;
    }

    .side-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
}

/* ============================================
   MODO ESCURO (FALLBACK)
   ============================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #1a1a1a;
        --text-primary: #f0f0f0;
        --text-secondary: #a8b3c1;
    }

    .auth-card {
        background-color: #1a1a1a;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .form-control {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
        color: #f0f0f0;
    }

    .form-control:focus {
        background-color: #333333;
        border-color: var(--primary-color);
    }
}
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.login-link a:hover::after {
    width: 100%;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #192a56;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #5a6b7a;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

/* Estilos para recuperação de senha */
.forgot-password-link {
    font-size: 0.85rem;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #0052a3;
    text-decoration: underline;
}
/* ============================================
   MODO ESCURO (Dark Mode Support)
   ============================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-gradient-start: #0f1621;
        --bg-gradient-middle: #13192a;
        --bg-gradient-end: #1a2342;
        
        --card-bg: rgba(25, 32, 50, 0.95);
        --text-primary: #e8ecf1;
        --text-secondary: #b8c5d6;
        --text-light: #8a96a8;
        --border-color: #3a4455;
    }

    body.auth-bg {
        background: linear-gradient(135deg, #0a0f1a 0%, #0f1621 45%, #13192a 75%, #1a2342 100%);
    }

    .welcome-card {
        background: rgba(25, 32, 50, 0.95);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .welcome-card::after {
        background: transparent;
        display: none;
    }

    .auth-container {
        background: rgba(25, 32, 50, 0.95);
    }

    .form-control,
    .form-select {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--text-primary);
    }

    .form-control:focus,
    .form-select:focus {
        background-color: rgba(255, 255, 255, 0.08);
        border-color: #5f7bff;
        color: var(--text-primary);
    }

    .form-control::placeholder {
        color: var(--text-light);
    }

    a {
        color: #5f9cff;
    }

    a:hover {
        color: #7ab8ff;
    }

    .side-content {
        color: var(--text-primary);
    }

    .forgot-password-link {
        color: #5f9cff;
    }

    .forgot-password-link:hover {
        color: #7ab8ff;
    }

    /* Botões Primários - Modo Escuro */
    .btn-primary {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        border-color: #5f7bff !important;
        color: #fff !important;
        box-shadow: 0 12px 24px rgba(95, 123, 255, 0.3) !important;
        font-weight: 600;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        background: linear-gradient(135deg, #7495ff 0%, #89a8ff 60%, #9db9ff 100%) !important;
        border-color: #7495ff !important;
        box-shadow: 0 16px 32px rgba(95, 123, 255, 0.4) !important;
    }

    .welcome-actions .btn-primary {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        border-color: #5f7bff !important;
        box-shadow: 0 12px 24px rgba(95, 123, 255, 0.3) !important;
    }

    .welcome-actions .btn-primary:hover,
    .welcome-actions .btn-primary:focus {
        background: linear-gradient(135deg, #7495ff 0%, #89a8ff 60%, #9db9ff 100%) !important;
        border-color: #7495ff !important;
        box-shadow: 0 16px 32px rgba(95, 123, 255, 0.4) !important;
    }

    /* Botões Outline - Modo Escuro */
    .btn-outline-primary {
        background: linear-gradient(135deg, rgba(95, 123, 255, 0.15), rgba(116, 149, 255, 0.15)) !important;
        border-color: #5f7bff !important;
        color: #89a8ff !important;
    }

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        border-color: #5f7bff !important;
        color: #fff !important;
        box-shadow: 0 12px 24px rgba(95, 123, 255, 0.3) !important;
    }

    .welcome-actions .btn-outline-primary {
        background: linear-gradient(135deg, rgba(95, 123, 255, 0.15), rgba(116, 149, 255, 0.15)) !important;
        border-color: #5f7bff !important;
        color: #89a8ff !important;
    }

    .welcome-actions .btn-outline-primary:hover,
    .welcome-actions .btn-outline-primary:focus {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        border-color: #5f7bff !important;
        color: #fff !important;
        box-shadow: 0 12px 24px rgba(95, 123, 255, 0.3) !important;
    }

    /* Links em modo escuro */
    .btn-link {
        color: #5f9cff !important;
    }

    .btn-link:hover {
        color: #7ab8ff !important;
    }

    /* Botões Customizados Auth - Modo Escuro */
    .btn-primary-custom {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(95, 123, 255, 0.35) !important;
    }

    .btn-primary-custom::before {
        background: linear-gradient(135deg, #7495ff 0%, #89a8ff 60%, #9db9ff 100%) !important;
    }

    .btn-primary-custom:hover {
        box-shadow: 0 16px 36px rgba(95, 123, 255, 0.45) !important;
    }

    .btn-register {
        background: linear-gradient(135deg, #5f7bff 0%, #7495ff 60%, #89a8ff 100%) !important;
        color: #fff !important;
    }

    .btn-register::before {
        background: linear-gradient(135deg, #7495ff 0%, #89a8ff 60%, #9db9ff 100%) !important;
    }

    .btn-register:hover {
        box-shadow: 0 16px 36px rgba(95, 123, 255, 0.45) !important;
    }
}