﻿:root {
    --sigma-primary: #0b2a4a;
    --sigma-accent: #1fa3ff;
    --sigma-light: #f4f6f9;
    --sigma-text: #1d2b36;
}

/* ===== BACKGROUND ===== */
.sigma-bg {
    min-height: 100vh;
    background: radial-gradient(1000px 600px at 85% -10%, rgba(31,163,255,.15), transparent 60%), linear-gradient(180deg, #f3f6fa 0%, #e9eef4 100%);
}

/* ===== GRID ===== */
.sigma-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 992px) {
    .sigma-shell {
        grid-template-columns: 1fr;
    }

    .sigma-left {
        display: none;
    }
}

/* (Opcional) Em telas grandes, dá mais espaço pro card */
@media (min-width: 1200px) {
    .sigma-shell {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* ===== LEFT PANEL ===== */
.sigma-left {
    padding: 60px;
    background: linear-gradient(145deg, #0b2a4a, #07213a);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .sigma-left::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        right: -120px;
        top: -120px;
        background: rgba(31,163,255,.18);
    }

.sigma-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sigma-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    display: grid;
    place-items: center;
    overflow: hidden;
}

    .sigma-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
        background: #fff;
        border-radius: 12px;
    }

.sigma-title {
    margin-top: 40px;
    font-size: 2.4rem;
    font-weight: 800;
}

.sigma-sub {
    margin-top: 14px;
    opacity: .85;
    max-width: 520px;
}

.sigma-points {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sigma-point {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sigma-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sigma-accent);
}

/* ===== RIGHT SIDE ===== */
.sigma-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px;
}

@media (max-width: 992px) {
    .sigma-right {
        padding: 18px;
    }
}

/* ===== CARD ===== */
.sigma-card {
    width: 100%;
    max-width: 560px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(10,20,40,.12);
}

    .sigma-card .card-body {
        padding: 44px;
    }

    /* Tipos */
    .sigma-card h1,
    .sigma-card h2 {
        font-weight: 800;
        font-size: 2rem;
        color: var(--sigma-text);
    }

/* Remove título duplicado do Identity */
h1 + h2 {
    display: none;
}

/* ===== REMOVE EXTERNAL LOGIN SECTION ===== */
hr,
#external-account,
.external-login,
.external-logins,
#external-login,
.social-login {
    display: none !important;
}

/* ===== FIX DEFINITIVO: remover a 2ª coluna (área roxa vazia) ===== */
/* O Identity renderiza um .row com 2 colunas (.col-md-6 / etc).
   Mesmo escondendo o conteúdo externo, a coluna pode continuar ocupando espaço.
   Aqui forçamos 1 coluna e eliminamos qualquer sobra. */
.sigma-card .row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .sigma-card .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Se a 2ª coluna ainda existir (mesmo vazia), some com ela */
    .sigma-card .row > .col-md-6:nth-child(2),
    .sigma-card .row > .col-lg-6:nth-child(2),
    .sigma-card .row > .col-sm-6:nth-child(2) {
        display: none !important;
    }

/* Evita quebra feia tipo "accoun t" */
.sigma-card h2 {
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere;
}

/* ===== INPUTS ===== */
.form-control {
    width: 100% !important;
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #d6dde6;
    background: #fff;
    transition: .2s;
}

    .form-control:focus {
        border-color: var(--sigma-accent);
        box-shadow: 0 0 0 3px rgba(31,163,255,.15);
    }

/* ===== BUTTON ===== */
.btn-primary,
button[type="submit"] {
    width: 100% !important;
    background: var(--sigma-primary);
    border: none;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: .2s;
}

    .btn-primary:hover,
    button[type="submit"]:hover {
        background: #0e3a66;
        transform: translateY(-1px);
    }

/* ===== LINKS ===== */
a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ===== REMEMBER CHECKBOX ===== */
.form-check-input {
    border-radius: 6px;
}
