body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #fffaf5; /* 🔥 blanco cálido */
    padding: 15px 20px;

    border-bottom: 1px solid #f1e3d3;
    backdrop-filter: blur(8px);
}
/* Línea roja sutil debajo */
.header::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, transparent, #ff3c00, transparent);
    margin-top: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    color: #333;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
}

.nav a:hover {
    color: #e67e22;
}

.nav strong {
    color: #111;
    font-size: 1.2rem;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #111;
    border-top: 1px solid #333;
    margin-top: 40px;
}



/*Moviles*/

input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: none;
}

.toggles {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
}

.toggles label {
    font-size: 20px;
}

form.card {
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.filtro-card {
    background: #4b0e0e;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.filtro-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filtro-form label {
    font-weight: bold;
    color: #ff9800;
}

.filtro-form select {
    padding: 10px;
    border-radius: 5px;
    border: none;
}


.acciones {
    display: flex;
    justify-content: center;   /* 👈 centrados */
    align-items: center;
    gap: 12px;                 /* 👈 espacio entre botones */
    margin-top: 15px;
    
    height: 45px;    
}

.acciones form {
    margin: 0;
}

.acciones .btn {
    min-width: 130px;
}

/* separación extra visual */
.acciones .danger {
    margin-left: 10px;
}

@media (max-width: 600px) {

    body {
        font-size: 17px; /* 🔥 más legible en móvil */
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    p {
        font-size: 0.95rem;
    }

    .nav a {
        font-size: 0.9rem;
    }
}


.nav a.activo {
    color: #e67e22;
    font-weight: bold;
    border-bottom: 2px solid #e67e22;
}

.footer a {
    color: #ff9800;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}


/* Wasap*/
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background: #25D366;
    color: white;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    text-decoration: none;

    box-shadow: 0 5px 15px rgba(0,0,0,0.4);

    z-index: 999;
    transition: 0.3s;
}

/* hover */
.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* 🔥 efecto pulso */
.whatsapp-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: pulse 1.5s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { opacity: 0; }
}



/* login */

.ancho-login {
    width: 90%;
    max-width: 500px;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center; /* 🔥 centra horizontal */
    gap: 15px;
}


.demo-login {
    margin-top: 20px;
    padding: 15px;
    background: #222;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.demo-login strong {
    color: #ff9800;
}