body {
    margin: 0;
    font-family: Arial;
    background: url("/Viagem/javax.faces.resource/imagens/distribuicao_rede.jpeg.xhtml") no-repeat center bottom;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2,6,23,0.85), rgba(15,23,42,0.7), rgba(124,45,18,0.5));
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.card {
    padding: 50px 40px;
    border-radius: 25px;

    background: rgba(255,255,255,0.06);

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border: 1px solid rgba(255,255,255,0.2);

    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 40px rgba(249,115,22,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.title {
    text-align: center;
    color: white;
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 8px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.subtitle {
    color: #f97316;
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 700;
}

.line {
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, transparent, #f97316);
}

.line:last-child {
    background: linear-gradient(to left, transparent, #f97316);
}

.field {
    margin-bottom: 22px;
}

.label {
    color: #f97316;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block;
}

/* INPUT TEXT */
.ui-inputtext.input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 20px !important;

    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;

    font-size: 14px;
    color: #111;

    box-shadow: none !important;
}

/* PASSWORD (PrimeFaces wrapper fix) */
.ui-password {
    width: 100%;
}

.ui-password input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 20px !important;

    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;

    font-size: 14px;
    color: #111;
}

/* BOTÃO */
.btn-login.ui-button {
    width: 100%;
    padding: 16px;

    border-radius: 16px;
    border: none !important;

    font-weight: 900;
    letter-spacing: 2px;

    color: white !important;

    background: linear-gradient(135deg, #f97316, #ea580c) !important;

    box-shadow: 0 15px 40px rgba(249,115,22,0.5);

    transition: all 0.25s ease;
}

.btn-login.ui-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(249,115,22,0.7);
}

.footer {
    text-align: center;
    margin-top: 30px;
}

/* TEXTO PRINCIPAL */
.footer-title {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 6px;
    font-weight: 700;
}

/* LINHAS + PONTO */
.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.footer-divider .line {
    width: 25px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.footer-divider .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f97316; /* laranja */
}

/* TEXTO FINAL */
.footer-sub {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
    letter-spacing: 2px;
}

/* LINK TOPO */
.top-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.top-link:hover {
    color: #f97316;
}

.arrow {
    font-size: 14px;
}

.top-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.top-text .small {
    font-size: 8px;
    letter-spacing: 3px;
    opacity: 0.6;
}

.top-text .big {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.button-field {
    margin-top: 30px;
}
