/* =========================
   BASE GLOBAL
========================= */
body {
    position: relative;
    isolation: isolate;

    min-height: 100vh;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;

    background: url('../img/logo/fondo.jpg') center / cover no-repeat fixed;

    /* 👇 IMPORTANTE: scroll aquí si hace falta */
    overflow-y: auto;
    padding: 20px;
}

label {
    color: #fff;
}


/* Overlay */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* =========================
   LOGIN CARD
========================= */
.login-card {
    width: 100%;
    max-width: 360px;

    background: black;
    backdrop-filter: blur(6px);

    border-radius: 16px;
    padding: 22px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);

    z-index: 1;
}

/* =========================
   TIPOGRAFÍA
========================= */
.login-card h1 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 18px;
    color: #333;
}

/* =========================
   LOGO - CORREGIDO
========================= */
.logo {
    text-align: center;
}

.logo img {
    width: 220px;
    height: auto;
    display: block;
    margin: 15px auto;
}

/* =========================
   INPUTS
========================= */
.form-control {
    font-size: 14px;
    padding: 8px 10px;
}

/* Password eye */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* =========================
   BOTONES BASE
========================= */
.btn,
.btn-google,
.btn-volver {
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
}

/* =========================
   GOOGLE BUTTON
========================= */
.btn-google {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #fff;
    border: 1px solid #ddd;
    color: #333;

    text-decoration: none;
    transition: all .2s ease;
}

@media (hover: hover) {
    .btn-google:hover {
        background: #f5f5f5;
        border-color: #ccc;
    }
}

/* =========================
   DIVIDER
========================= */
.divider {
    display: flex;
    align-items: center;
    margin: 14px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 12px;
}

/* =========================
   VOLVER BUTTON
========================= */
.btn-volver {
    width: 100%;
    display: block;
    text-align: center;

    border: 1px solid #ddd;
    background: transparent;
    color: #666;

    margin-top: 12px;
    text-decoration: none;

    transition: all .2s ease;
}

@media (hover: hover) {
    .btn-volver:hover {
        background: #f5f5f5;
        border-color: #ccc;
    }
}

/* =========================
   TICKER
========================= */
.ticker-wrapper {
    width: 100%;
    margin-bottom: 16px;
    border: 3px solid #0d6efd;
    border-radius: 12px;
    background: #000;
    overflow: hidden;
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    will-change: transform;
    cursor: pointer;
}

.ticker-wrapper:hover .ticker-content {
    color: #bc1623;
}
