﻿/* RESET */
body, .body-content {
    margin: 0;
    padding: 0;
}

/* ALTURA REAL DE TU NAVBAR */
:root {
    --nav-height: 65px; /* ajustable */
    --nav-height: 65px; /* altura real de tu navbar */
    --menu-width: 250px; /* ancho del menú lateral */
    --menu-bg: #ffffff; /* fondo del menú */
    --menu-text: #222222; /* texto del menú */
    --menu-hover: #f5f5f5; /* hover suave */
    --menu-border: #e5e5e5; /* líneas suaves */
}

/* CONTENEDOR FULLSCREEN */
/* HERO */
.fullscreen-wrapper {
    position: relative;
    width: 100%;
    height: 98vh;
    overflow: hidden;
}
.login-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: rgba(0,0,0,0.55);
    padding: 25px;
    border-radius: 12px;
    color: white;
    z-index: 10;
    backdrop-filter: blur(4px);
}

    .login-overlay .input-text {
        width: 100%;
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 6px;
        border: none;
    }

.btn-login {
    width: 100%;
    background: #FFD700;
    color: black;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

    .btn-login:hover {
        background: #e6c200;
    }

.login-error {
    color: #ff8080;
    margin-top: 10px;
    display: block;
    text-align: center;
}
.acciones-inicio {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.link-registrarse {
    font-size: 18px;
    color: #00aaff;
    cursor: pointer;
    text-decoration: underline;
}

/* HERO DESKTOP */
/* FONDO DEL HERO */
.fullscreen-bg {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--nav-height));
    background-image: url('/img/Moto2final.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* TEXTO DEL HERO */
.landing-text {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 0 10px black;
}
.login-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: rgba(0,0,0,0.55);
    padding: 25px;
    border-radius: 12px;
    color: white;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.login-aviso {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ffe680;
}

.btn-cancelar {
    width: 100%;
    background: #666;
    color: white;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

    .btn-cancelar:hover {
        background: #555;
    }
    /* CONTENEDOR DEL BOTÓN */
    .hamburger {
        width: 28px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 100000;
    }

    /* BARRAS */
    .hamburger span {
        display: block;
        height: 3px;
        background: white; /* blanco sobre navbar oscura */
        border-radius: 2px;
        transition: 0.3s;
    }

    /* ANIMACIÓN A "X" */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* CUANDO EL MENÚ ESTÁ ABIERTO → BARRAS NEGRAS */
    .hamburger.active span {
        background: #FFD700;
    }

    /* PANEL LATERAL */
    .side-menu {
        position: fixed;
        top: var(--nav-height);
        right: calc(-1 * var(--menu-width));
        width: var(--menu-width);
        height: calc(100vh - var(--nav-height));
        background: var(--menu-bg);
        padding-top: 20px;
        transition: 0.3s ease;
        display: flex;
        flex-direction: column;
        z-index: 9999;
        border-left: 1px solid var(--menu-border);
        box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    }

    /* LINKS */
    .side-menu a {
        color: var(--menu-text);
        padding: 12px 20px;
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid var(--menu-border);
        transition: 0.2s;
        display: flex;
        align-items: center;
        gap: 12px; /* espacio entre icono y texto */
    }
        .side-menu a .icon {
            width: 22px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* HOVER */
        .side-menu a:hover {
            background: var(--menu-hover);
        }
        .side-menu a svg {
            flex-shrink: 0;
        }

    /* MENÚ ABIERTO */
    .side-menu.open {
        right: 0;
    }
    /* ÍTEM INICIO DESTACADO */
    .side-menu .menu-inicio {
        font-weight: 600;
        background: #fafafa;
        border-bottom: 2px solid var(--menu-border);
    }

        .side-menu .menu-inicio:hover {
            background: #f0f0f0;
        }
.form-group {
    text-align: left;
    margin: 12px 0;
}

    .form-group label {
        font-size: 14px;
        color: #444;
    }

.input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-top: 5px;
}
/* TÍTULO DEL BLOQUE */
.registro-titulo {
    text-align: center;
    font-size: 26px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #222;
}

/* CONTENEDOR GENERAL */
.registro-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* PANEL DEL FORMULARIO */
.registro-panel {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

/* ICONO SUPERIOR */
.registro-icono {
    margin-bottom: 10px;
}

/* SUBTÍTULO */
.registro-subtitulo {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* FORMULARIO */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

    .form-group label {
        font-size: 14px;
        color: #444;
    }

.input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-top: 5px;
}
.portada-login-container {
    text-align: center;
    margin-top: 40px;
}

.btn-portada-login {
    background: #FFD700;
    color: #000;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

    .btn-portada-login:hover {
        background: #e6c200;
    }


.login-panel {
    width: 100%;
    max-width: 380px;
    margin: 30px auto;
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.login-titulo {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 9px;
    cursor: pointer;
    font-size: 18px;
}

.btn-login {
    width: 100%;
    background: #333;
    color: white;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

    .btn-login:hover {
        background: #555;
    }

.login-error {
    color: red;
    margin-top: 10px;
    display: block;
    text-align: center;
}

/* BOTÓN */
.registro-boton {
    width: 100%;
    margin-top: 10px;
}

/* PIE DEL FORMULARIO */
.registro-pie {
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}
.usuarios-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.usuarios-box {
    max-width: 800px;
    width: 100%;
    background: rgba(0,0,0,0.55);
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.titulo-amigable {
    font-size: 32px;
    margin-top: 10px;
    color: #FFD700;
}

.intro-amigable {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.6;
}

.frases-motoqueras span {
    display: block;
    font-style: italic;
    margin-top: 5px;
    color: #FFD700;
}

.usuarios-lista {
    text-align: left;
    margin: 20px auto;
    max-width: 500px;
}

.separador {
    margin: 40px auto;
    width: 60%;
    border: 0;
    border-top: 1px solid #FFD700;
}

.registro-wrapper {
    display: flex;
    justify-content: center;
}

.registro-panel {
    max-width: 500px;
    width: 100%;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: block;
}


.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-text {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-top: 5px;
}

.registro-boton {
    width: 100%;
    margin-top: 15px;
}

.ok {
    display: block;
    margin-top: 10px;
    color: #00ff99;
    font-weight: bold;
}

.aviso-construccion {
    color: #FFD700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    margin: 0 auto; /* CENTRA EL AVISO */
}



@media (max-width: 768px) {
    .aviso-construccion {
        font-size: 12px;
    }
}




/* MOBILE */
@media (max-width: 768px) {

    .fullscreen-wrapper {
        height: 100vh;
    }

    .fullscreen-bg {
        background-image: url('/img/Moto1.png'); /* Imagen mobile */
        background-position: center top;
        background-size: cover;
    }

    .landing-text {
        bottom: 20px;
        padding: 0 15px;
    }

        .landing-text h1 {
            font-size: 1.2rem;
            line-height: 1.3;
        }

        .landing-text h2 {
            font-size: 1.6rem;
            margin-top: 5px;
        }

        .landing-text p {
            font-size: 1rem;
            margin-top: 10px;
        }
}
