/* =========================
   BASE
========================= */

:root {
    --blue: #0B2D4A;
    --blue-soft: #123B5C;
    --orange: #F57C1F;
    --orange-dark: #E66E16;
    --bg: #F4F7FB;
    --card: #ffffff;
    --border: #E3E8EF;
    --text: #0B2D4A;
    --muted: #6B7C93;
    --radius: 20px;
    --shadow: 0 20px 60px rgba(0,0,0,.08);
}

body.hk-page {
    background: linear-gradient(135deg,#0B2D4A,#5c3312);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   CONTAINER PRINCIPAL
========================= */

.hk-wrap {
    width: 100%;
    max-width: 1100px;
}

.hk-card {
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card) !important;
    animation: fadeIn .4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hk-card:hover {
    box-shadow: 0 25px 70px rgba(0,0,0,.12);
}


/* =========================
   GRID CORRETO
========================= */

.hk-card .row {
    display: flex;
    flex-wrap: wrap;
    min-height: 560px;
}


/* =========================
   LADO ESQUERDO
========================= */

.hk-left {
    background: linear-gradient(135deg,#ffffff,#f7f9fc);
    border-right: 1px solid rgba(0,0,0,.04);
    padding: 70px clamp(60px, 5vw, 100px);
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 55%;
    max-width: 55%;
}



.hk-left-content {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

/* logo */

.hk-brand {
    display: flex;
    align-items: center;
    padding-top: 0;
}

.hk-logo {
    height: clamp(60px, 8vw, 60px);
    width: auto;
    display: block;
    margin: 0 auto;
    animation: fadeDown .4s ease;
    margin-bottom: 3vw;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* título */

.hk-title {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 15px 15px;
}

    .hk-title span {
        color: var(--orange);
        font-weight: 700;
    }


/* descrição */

.hk-desc {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 25px 12px;
}


/* lista */

.hk-bullets {
    list-style: none;
    padding: 0;
}

    .hk-bullets li {
        margin-bottom: 12px;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

.hk-dot {
    width: 22px;
    height: 22px;
    background: #fff4ea;
    color: var(--orange);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 12px;
}






/* =========================
   LADO DIREITO
========================= */

.hk-right {
    padding: 50px 45px;
    display: flex;
    align-items: center;
    background: #fff;
    flex: 0 0 45%;
    max-width: 45%;
    box-shadow: -10px 0 30px rgba(0,0,0,.03);
}

.hk-right-content {
    width: 100%;
    max-width: 360px;
    margin: auto;
}


/* header login */

.hk-lock {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff4ea;
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.hk-login-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.hk-login-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    text-align: center;
}


/* =========================
   INPUTS
========================= */

.hk-field {
    position: relative;
    margin-bottom: 12px;
}

.hk-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c9a;
}

.hk-input {
    height: 48px !important;
    background: #f9fafc;
    border: 1px solid #d8e0ea;
    padding-left: 40px !important;
    border-radius: 12px !important;
    transition: .2s ease;
}

    .hk-input:hover {
        border-color: #cbd5e1;
    }

    .hk-input:focus {
        border-color: var(--orange) !important;
        box-shadow: 0 0 0 3px rgba(245,124,31,.1) !important;
    }


/* =========================
   BOTÃO
========================= */

.hk-btn {
    height: 48px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg,var(--orange),var(--orange-dark));
    color: white;
    transition: .2s;
}

    .hk-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(245,124,31,.25);
    }


/* =========================
   LINK
========================= */

.hk-footer {
    text-align: center;
    margin-top: 12px;
}

.hk-forgot {
    font-size: 13px;
    color: var(--orange);
    text-decoration: none;
}

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



/* =========================
   RESPONSIVO
========================= */

@media (max-width:1200px) {

    .hk-left {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 50px;
    }

    .hk-right {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 40px;
    }

    .hk-title {
        font-size: 32px;
    }
}

@media(max-width:992px) {

    .hk-brand {
        display: block;
        text-align: center;
    }

    .hk-logo {
        height: 80px;
        margin: 0 auto 10px auto;
    }

    .hk-left {
        display: none !important;
    }

    .hk-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 50px;
    }

    .hk-card {
        border-radius: 20px;
    }
}

@media(max-width:576px) {


    .hk-input {
        height: 52px;
        font-size: 16px; /* evita zoom automático no iPhone */
    }

    body.hk-page {
        padding: 20px;
        align-items: flex-start;
    }

    .hk-card {
        border-radius: 16px;
    }

    .hk-right {
        padding: 30px 20px;
    }

    .hk-login-title {
        font-size: 22px;
    }

    .hk-btn {
        height: 50px;
    }
}


/* =========================
   FIXES (Bootstrap/Gutters/Background)
   Coloque sempre no FINAL do CSS
========================= */

/* evita que o Bootstrap injete padding/fundo na área do card */
.hk-card .card-body {
    background: transparent !important;
    padding: 0 !important;
}

/* remove gutters/margens que geram “linha fantasma” no meio */
.hk-card .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    /* zera padding das colunas dentro do card (BS4/BS5) */
    .hk-card .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

/* garante que sua proporção 55/45 prevaleça sobre o flex do Bootstrap */
.hk-left,
.hk-right {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
}

/* reforça branco do lado direito caso algum tema sobrescreva */
.hk-right {
    background: #ffffff !important;
}



.hk-left-content {
    position: relative;
    z-index: 1;
}
