* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #071019;
}

     body {
    font-family: Arial, sans-serif;

    background-color: #071019;

    background-image:
        radial-gradient(circle at top, rgba(251,191,36,0.10), transparent 30%),
        linear-gradient(rgba(7,16,25,0.6), rgba(7,16,25,0.85)),
        url('/imagens/background_petrominer.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #fff;
}
body.loaded {
    opacity: 1;
}

/* =====================================================
   PAGE
===================================================== */

.login-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

/* =====================================================
   LEFT
===================================================== */

.left-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;
}

.left-content {
    max-width: 620px;
}

/* =====================================================
   BADGE
===================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(250,204,21,0.12);

    border: 1px solid rgba(250,204,21,0.22);

    color: #facc15;

    font-size: 14px;
    font-weight: 900;

    margin-bottom: 24px;

    box-shadow:
        0 0 18px rgba(250,204,21,0.08);
}

/* =====================================================
   TITLES
===================================================== */

.left-content h1 {
    font-size: 54px;
    line-height: 1.02;
    font-weight: 900;

    margin-bottom: 20px;

    color: #ffffff;
}

.left-content h1 span {
    color: #facc15;
}

.subtitle {
    color: #cbd5e1;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 34px;
}

/* =====================================================
   INFO CARDS
===================================================== */

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    position: relative;
    overflow: hidden;

    display: flex;
    gap: 16px;
    align-items: flex-start;

    padding: 18px;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.96),
            rgba(11,22,34,0.96)
        );

    border: 1px solid rgba(148,163,184,0.14);

    box-shadow:
        0 16px 40px rgba(0,0,0,0.32);

    backdrop-filter: blur(12px);
}

.info-card::before,
.login-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #facc15,
            #22c55e,
            #38bdf8
        );
}

.icon {
    font-size: 26px;

    filter:
        drop-shadow(0 0 10px rgba(250,204,21,0.18));
}

.info-card strong {
    display: block;

    color: #facc15;

    font-size: 18px;
    font-weight: 900;

    margin-bottom: 6px;
}

.info-card p {
    color: #94a3b8;

    line-height: 1.6;

    font-size: 14px;
}

/* =====================================================
   RIGHT
===================================================== */

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
}

/* =====================================================
   LOGIN BOX
===================================================== */

.login-box {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 450px;

    padding: 34px 30px;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.96),
            rgba(11,22,34,0.96)
        );

    border: 1px solid rgba(148,163,184,0.14);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);

    backdrop-filter: blur(12px);
}

/* =====================================================
   LOGIN HEADER
===================================================== */

.login-header {
    margin-bottom: 26px;
}

.login-header h2 {
    font-size: 36px;
    font-weight: 900;

    color: #facc15;

    margin-bottom: 8px;
}

.login-header p {
    color: #94a3b8;

    font-size: 15px;

    line-height: 1.6;
}

/* =====================================================
   FORM
===================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =====================================================
   INPUT GROUP
===================================================== */

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: #e2e8f0;

    font-size: 14px;
    font-weight: 800;
}

/* =====================================================
   INPUT
===================================================== */

.input-group input {
    width: 100%;
    height: 54px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(2,6,23,0.82);

    color: #ffffff;

    padding: 0 16px;

    font-size: 15px;
    font-weight: 700;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input-group input::placeholder {
    color: #64748b;
}

.input-group input:focus {
    border-color: rgba(250,204,21,0.35);

    background: rgba(2,6,23,0.96);

    box-shadow:
        0 0 0 4px rgba(250,204,21,0.10);
}

/* =====================================================
   CAPTCHA
===================================================== */

.captcha-area {
    display: flex;
    justify-content: center;

    padding-top: 6px;
}

/* =====================================================
   BUTTON
===================================================== */

.login-btn {
    height: 56px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #facc15,
            #eab308
        );

    color: #111827;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;

    box-shadow:
        0 12px 25px rgba(250,204,21,0.24);
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    filter: brightness(1.03);

    box-shadow:
        0 16px 30px rgba(250,204,21,0.30);
}

.login-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

/* =====================================================
   MESSAGE
===================================================== */

.login-msg {
    min-height: 22px;

    margin-top: 16px;

    text-align: center;

    font-size: 14px;

    color: #cbd5e1;
}

/* =====================================================
   LINKS
===================================================== */

.bottom-links {
    margin-top: 20px;

    text-align: center;

    color: #94a3b8;

    font-size: 14px;
}

.bottom-links a {
    color: #facc15;

    text-decoration: none;

    font-weight: 800;

    margin-left: 6px;
}

.bottom-links a:hover {
    text-decoration: underline;
}

/* =====================================================
   HEADER
===================================================== */

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px 20px;

    color: #fff;

    font-size: 22px;
    font-weight: 900;
}

.logo-icon {
    width: 38px;
    height: 38px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 8px rgba(250,204,21,0.35));
}

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

@media (max-width: 980px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .left-panel {
        padding: 50px 24px 20px;
    }

    .left-content {
        max-width: 100%;
    }

    .left-content h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 16px;
    }

    .right-panel {
        padding: 10px 16px 40px;
    }

    .login-box {
        max-width: 100%;
    }
}

@media (max-width: 560px) {

    .left-panel {
        padding: 40px 16px 10px;
    }

    .left-content h1 {
        font-size: 30px;
    }

    .subtitle {
        font-size: 15px;
    }

    .info-card {
        padding: 14px;
        border-radius: 16px;
    }

    .login-box {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .login-header h2 {
        font-size: 28px;
    }

    .input-group input {
        height: 52px;
        font-size: 16px;
    }

    .login-btn {
        height: 52px;
        font-size: 15px;
    }

    .badge {
        width: 100%;
    }
}