:root {
    --detran-teal: #006389;
    --text-gray: #6C757D;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* SIDEBAR: Estilo interno (Largura controlada pelo Tailwind no HTML) */
.sidebar {
    background-color: var(--detran-teal);
    padding: 0 8%;
    color: white;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.logo-detran-main {
    width: 65px;
    height: auto;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: 700;
}

.sidebar h1 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.sidebar p {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.sidebar-content {
    position: relative;
    z-index: 2;
}

/* ELEMENTOS DE FUNDO (VETORES) */
.vector-left, .vector-right, .shape-top, .shape-bottom {
    position: absolute;
    pointer-events: none;
    z-index: 1; /* Camada de baixo */
}
.vector-left { top: 350px; left: -60px; width: 350px; opacity: 0.2; }
.vector-right { top: 350px; right: -60px; width: 350px; opacity: 0.2; }
.shape-top { top: 0; left: 0; width: 240px; }
.shape-bottom { bottom: 0; right: 0; width: 500px; }

/* LOGIN BOX */
.login-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.logo-p {
    width: 55px;
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.input-field-wrapper {
    position: relative;
}

.input-field-wrapper img {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.7;
}

.form-control-custom {
    width: 100%;
    height: 54px;
    padding-left: 50px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--detran-teal);
}

.btn-entrar {
    background-color: var(--detran-teal);
    color: white;
    border: none;
    padding: 14px 45px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
}

.btn-entrar:hover {
    filter: brightness(1.2);
}

.forgot-pass {
    color: var(--detran-teal);
    font-weight: 600;
    text-decoration: none;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.help-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--detran-teal);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
}

.help-card:hover {
    filter: brightness(1.2);
}

.link-transparencia {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}
