* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background:
        linear-gradient(
            160deg,
            #111827,
            #1f2937
        );

    min-height: 100vh;

    color: white;
}


.app {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}


.pantalla-inicio {
    width: 100%;
    max-width: 430px;

    min-height: 90vh;

    display: flex;
    flex-direction: column;

    justify-content: center;

    text-align: center;

    padding: 30px 20px;
}


/* LOGO */

.logo {
    margin-bottom: 45px;
}


.logo-moto {
    font-size: 70px;

    margin-bottom: 10px;

    filter: drop-shadow(
        0 8px 12px rgba(0,0,0,0.35)
    );
}


.logo h1 {
    font-size: 38px;

    letter-spacing: 5px;

    font-weight: 800;
}


.logo h2 {
    font-size: 18px;

    letter-spacing: 8px;

    margin-top: 5px;

    font-weight: 400;
}


.logo p {
    margin-top: 18px;

    color: #d1d5db;

    font-size: 16px;
}


/* BOTONES */

.acciones {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


.btn {
    width: 100%;

    border: none;

    border-radius: 18px;

    padding: 17px;

    display: flex;

    align-items: center;

    text-align: left;

    gap: 15px;

    cursor: pointer;

    transition: 0.2s;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn:active {
    transform: scale(0.98);
}


.icono {
    width: 50px;
    height: 50px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 14px;

    background: rgba(255,255,255,0.15);

    font-size: 27px;
}


.btn strong {
    display: block;

    font-size: 17px;

    margin-bottom: 4px;
}


.btn small {
    display: block;

    font-size: 13px;

    opacity: 0.8;
}


.btn-pasajero {
    background: #f59e0b;

    color: #111827;
}


.btn-conductor {
    background: #ffffff;

    color: #111827;
}


/* SEPARADOR */

.separador {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 28px 0;

    color: #9ca3af;
}


.separador::before,
.separador::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #374151;
}


/* CUENTA */

.cuenta {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


.btn-secundario {
    background: transparent;

    color: white;

    border: 1px solid #4b5563;

    padding: 14px;

    border-radius: 14px;

    font-size: 15px;

    cursor: pointer;
}


.btn-link {
    background: transparent;

    border: none;

    color: #fbbf24;

    font-size: 15px;

    cursor: pointer;

    padding: 8px;
}


/* FOOTER */

footer {
    margin-top: 45px;

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.6;
}


footer small {
    display: block;

    margin-top: 5px;
}


/* CELULARES PEQUEÑOS */

@media (max-height: 700px) {

    .pantalla-inicio {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .logo {
        margin-bottom: 25px;
    }

    .logo-moto {
        font-size: 55px;
    }

    .logo h1 {
        font-size: 32px;
    }

    footer {
        margin-top: 25px;
    }
}
/* =========================
   FORMULARIO DE REGISTRO
========================= */

.formulario {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;

    text-align: left;
}


.campo {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.campo label {
    font-size: 14px;

    color: #e5e7eb;

    font-weight: 600;
}


.campo input {
    width: 100%;

    padding: 14px 15px;

    border-radius: 12px;

    border: 1px solid #4b5563;

    background: #1f2937;

    color: white;

    font-size: 15px;

    outline: none;
}


.campo input:focus {
    border-color: #f59e0b;

    box-shadow:
        0 0 0 2px rgba(245,158,11,0.15);
}


.campo input::placeholder {
    color: #9ca3af;
}


/* OPCIONES DE ROL */

.opciones-rol {
    display: flex;

    gap: 10px;

    flex-direction: column;
}


.rol-option {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px;

    border-radius: 12px;

    background: #1f2937;

    border: 1px solid #374151;

    cursor: pointer;
}


.rol-option input {
    accent-color: #f59e0b;
}


.rol-option span {
    font-size: 14px;

    color: white;
}


/* BOTÓN REGISTRO */

.btn-registro {
    justify-content: center;

    text-align: center;

    margin-top: 5px;

    font-size: 15px;

    font-weight: 700;
}
/* =========================
   PANEL DE USUARIO
========================= */

.panel-card {

    width: 100%;

    background: #1f2937;

    border: 1px solid #374151;

    border-radius: 18px;

    padding: 25px 20px;

    margin-bottom: 20px;

    text-align: center;

}


.panel-card h2 {

    font-size: 21px;

    margin-bottom: 10px;

}


.panel-card p {

    color: #d1d5db;

    font-size: 14px;

    line-height: 1.5;

}
#mapa {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}
.estado-viaje-card {
    background: #1f2937;
    border: 2px solid #22c55e;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
}

.estado-viaje-card h2 {
    color: #22c55e;
    margin-bottom: 12px;
}

.estado-viaje-card p {
    margin: 8px 0;
    color: #e5e7eb;
}

.estado-viaje-pendiente {
    border-color: #f59e0b;
}

.estado-viaje-pendiente h2 {
    color: #f59e0b;
}


/* =========================================
   NIEVE NAVIDEÑA - DAGUA MOTOTAXI
========================================= */

body::before,
body::after {
    content: "";
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;
    z-index: 99999;
    background-repeat: repeat;
}

/* Copos pequeños */
body::before {
    opacity: 0.75;
    background-image:
        radial-gradient(3px 3px at 20px 30px, white 98%, transparent),
        radial-gradient(2px 2px at 100px 150px, white 98%, transparent),
        radial-gradient(3px 3px at 200px 80px, white 98%, transparent),
        radial-gradient(2px 2px at 280px 220px, white 98%, transparent),
        radial-gradient(3px 3px at 350px 120px, white 98%, transparent);
    background-size: 400px 300px;
    animation: caerNieve 12s linear infinite;
}

/* Copos grandes */
body::after {
    opacity: 0.55;
    background-image:
        radial-gradient(5px 5px at 50px 100px, white 98%, transparent),
        radial-gradient(4px 4px at 180px 200px, white 98%, transparent),
        radial-gradient(5px 5px at 300px 50px, white 98%, transparent);
    background-size: 500px 350px;
    animation: caerNieve 20s linear infinite;
}

@keyframes caerNieve {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(35px, 100%, 0);
    }
}

