/* ============================================
   Sistema Financeiro V7 — Login Page
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* --- Left Panel --- */
.login-left {
    width: 50%;
    background: #0F172A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.3);
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.login-logo img {
    width: 235px;
    height: 235px;
}

.login-system-name {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
}

.login-by {
    color: #8BACC7;
    font-size: 14px;
    margin-top: 8px;
}

.login-desc {
    color: #6B8FAD;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

/* --- Feature Cards --- */
.login-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.login-feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 16px;
}

.login-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.login-feature-icon.icon-pagamentos {
    background: rgba(45, 156, 219, 0.125);
    color: #2D9CDB;
}

.login-feature-icon.icon-integracao {
    background: rgba(242, 153, 74, 0.125);
    color: #F2994A;
}

.login-feature-icon.icon-cobrancas {
    background: rgba(39, 174, 96, 0.125);
    color: #27AE60;
}

.login-feature-icon.icon-relatorios {
    background: rgba(155, 89, 182, 0.125);
    color: #9B59B6;
}

.login-feature-title {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.login-feature-desc {
    color: #8BACC7;
    font-size: 11px;
    margin-top: 4px;
}

/* --- Right Panel --- */
.login-right {
    width: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-form-container {
    width: 440px;
    max-width: 90%;
}

.login-title {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #828282;
    margin-bottom: 32px;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-forgot {
    color: #2D9CDB;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.login-forgot:hover {
    text-decoration: underline;
}

.login-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #828282;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #1E3A5F;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.login-btn:hover {
    opacity: 0.9;
}

.login-contact {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #828282;
}

.login-contact a {
    color: #2D9CDB;
    font-weight: 500;
    text-decoration: none;
}

.login-contact a:hover {
    text-decoration: underline;
}

.login-footer {
    position: absolute;
    bottom: 32px;
    text-align: center;
    font-size: 12px;
    color: #828282;
    width: 100%;
}

.login-password-wrapper {
    position: relative;
}

.login-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    color: #828282;
}

.login-error {
    background: #FDECEA;
    color: #EB5757;
    border: 1px solid #EB5757;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

/* --- Bubbles Animation --- */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.06;
    }
    50% {
        transform: translateY(-200px) scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: translateY(-600px) scale(0.8);
        opacity: 0;
    }
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; bottom: -80px; animation: float 12s ease-in-out infinite; }
.bubble:nth-child(2) { width: 120px; height: 120px; left: 25%; bottom: -120px; animation: float 16s ease-in-out infinite 2s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 45%; bottom: -60px; animation: float 10s ease-in-out infinite 4s; }
.bubble:nth-child(4) { width: 100px; height: 100px; left: 65%; bottom: -100px; animation: float 14s ease-in-out infinite 1s; }
.bubble:nth-child(5) { width: 40px; height: 40px; left: 80%; bottom: -40px; animation: float 8s ease-in-out infinite 3s; }
.bubble:nth-child(6) { width: 90px; height: 90px; left: 15%; bottom: -90px; animation: float 18s ease-in-out infinite 5s; }
.bubble:nth-child(7) { width: 50px; height: 50px; left: 55%; bottom: -50px; animation: float 11s ease-in-out infinite 6s; }
.bubble:nth-child(8) { width: 70px; height: 70px; left: 35%; bottom: -70px; animation: float 20s ease-in-out infinite 3s; }
