/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: auto;
    min-height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* ============================================
   HEADER / LOGO
   ============================================ */
header {
    width: 100%;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid #1a1a1a;
}

.tech-logo {
    width: 130px;
    height: 55px;
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* ============================================
   LOGIN BOX
   ============================================ */
.tech-login-box {
    background-color: #000;
    padding: 40px 36px 36px;
    border-radius: 6px;
    width: 100%;
    max-width: 440px;
    margin-top: 100px;   /* espaço do header fixo */
    margin-bottom: 60px; /* respiro no final para não cortar */
    flex-shrink: 0;      /* não comprime o conteúdo */
}

.tech-login-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: left;
    margin-bottom: 24px;
}

/* ============================================
   INPUTS FLOATING LABEL
   ============================================ */
.tech-input-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.input-container input {
    width: 100%;
    padding: 22px 16px 10px 16px;
    font-size: 16px;
    border: 1px solid #8c8c8c;
    border-radius: 4px;
    outline: none;
    background-color: #1a1a1a;
    color: #fff;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
}

.input-container input:focus {
    border-color: #fff;
    background-color: #222;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: 10px;
    transform: none;
    font-size: 11px;
    color: #aaa;
}

.error-message {
    display: none;
    color: #e87c03;
    font-size: 12px;
    margin-top: 4px;
    padding-left: 4px;
}

/* ============================================
   BOTÃO SUBMIT
   ============================================ */
.tech-input-group input[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: #e50914;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    letter-spacing: 0.5px;
}

.tech-input-group input[type="submit"]:hover {
    background-color: #c9040f;
}

.tech-input-group input[type="submit"]:active {
    background-color: #a80000;
}

/* ============================================
   BLOCO "OU" + OUTRO TIPO DE ACESSO
   ============================================ */
.tech-login-box > p {
    color: #737373;
    margin: 18px 0 10px;
    font-size: 14px;
}

.tech-login-box > div {
    margin-top: 0 !important;
}

.tech-login-box > div button[type="button"] {
    width: 100%;
    padding: 12px;
    background-color: rgba(51,51,51,0.9);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tech-login-box > div button[type="button"]:hover {
    background-color: #555;
}

.tech-login-box a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 14px;
}

.tech-login-box a:hover {
    text-decoration: underline;
}

/* ============================================
   CHECKBOX
   ============================================ */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e50914;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-container label {
    color: #b3b3b3;
    font-size: 14px;
    cursor: pointer;
}

/* ============================================
   TEXTO PROTEÇÃO / LINKS EXTRAS
   ============================================ */
.tech-login-box p[style] {
    font-size: 13px !important;
    color: #737373 !important;
    line-height: 1.5 !important;
    margin-top: 14px !important;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    width: 100%;
    max-width: 980px;
    background-color: transparent;
    border-top: 1px solid #333;
    padding: 24px 5%;
    color: #737373;
    font-size: 13px;
    margin-top: auto;
}

footer p {
    margin-bottom: 14px;
}

footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 16px;
}

footer ul li a {
    color: #737373;
    text-decoration: none;
    font-size: 13px;
}

footer ul li a:hover {
    text-decoration: underline;
}

.language-select {
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #000;
    color: #737373;
    border: 1px solid #737373;
    font-size: 13px;
    cursor: pointer;
    min-width: 130px;
}

/* ============================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================ */
@media screen and (max-width: 768px) {
    .tech-login-box {
        max-width: 100%;
        padding: 32px 24px;
        margin-top: 90px;
        border-radius: 0;
    }

    .tech-login-box h2 {
        font-size: 1.7rem;
    }

    footer {
        padding: 20px 24px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================ */
@media screen and (max-width: 480px) {
    header {
        height: 60px;
        padding: 0 16px;
    }

    .tech-logo {
        width: 100px;
        height: 44px;
    }

    .tech-login-box {
        padding: 28px 16px;
        margin-top: 80px;
    }

    .tech-login-box h2 {
        font-size: 1.5rem;
    }

    .input-container input {
        font-size: 15px;
        padding: 20px 14px 9px 14px;
    }

    .tech-input-group input[type="submit"] {
        font-size: 15px;
        padding: 14px;
    }

    footer {
        padding: 20px 16px;
    }

    footer ul {
        gap: 8px 14px;
    }
}

/* ============================================
   BLOCO DE CÓPIA (invisível mas necessário)
   ============================================ */
.block-copy {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ============================================
   OVERRIDE — garante rolagem em qualquer tela
   Sobrescreve qualquer style inline do HTTrack
   ============================================ */
html, body {
    overflow: visible !important;
    overflow-y: scroll !important;
    height: auto !important;
    max-height: none !important;
}
