/* === RESET GENERAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE DEL BODY === */
body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* === MENÚ HAMBURGUESA === */
#menu-hamburguesa {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
}

.menu-toggle {
    width: 36px;
    height: 36px;
    object-fit: contain;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    display: none;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to bottom, #ff7043, #ff5a2c);
    z-index: 999;
    padding: 60px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.menu-panel.show {
    transform: translateX(0%);
}

.menu-user {
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 16px;
    color: white;
}

.menu-lista {
    list-style: none;
    padding-left: 0;
}

.menu-lista li {
    margin-bottom: 24px;
}

.menu-lista li a {
    text-decoration: none;
    font-size: 20px;
    color: white;
}

/* === CONTENIDO PRINCIPAL === */
.main-content {
    margin-top: 80px;
    flex: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === FORMULARIO DE REGISTRO === */
#registroForm {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 20px;
}

#registroForm .logo {
    width: 220px;
    max-width: 90%;
    margin-bottom: 20px;
}

#registroForm h1.registro-titulo {
    font-size: 24px;
    color: #ff7043;
    margin-bottom: 25px;
    font-weight: 800;
    text-align: center;
}

#registroForm input[type="email"],
#registroForm input[type="text"],
#registroForm input[type="password"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 30px;
    outline: none;
    background: #fff;
}

#registroForm input:focus {
    border-color: #ff7043;
    box-shadow: 0 0 0 2px rgba(255, 112, 67, 0.2);
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
    width: 100%;
}

.checkbox-wrap input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.checkbox-wrap label {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    word-break: break-word;
}

.checkbox-wrap a {
    color: #ff7043;
    text-decoration: underline;
    font-weight: 500;
}

#registroForm button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #ff7043;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

#registroForm button:disabled {
    background-color: #ccc;
}

/* === MENSAJE DE ERROR === */
.mensaje-error {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
    text-align: center;
}

/* === FOOTER GLOBAL === */
footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 30px 0;
}

footer a {
    color: #ff7043;
    text-decoration: underline;
    font-weight: 500;
}

/* === AJUSTES PARA PÁGINAS DE ERROR === */
/* Logo general */
.logo {
    width: 200px;
    max-width: 90%;
    margin-bottom: 20px;
}

/* Error título */
.error-titulo {
    color: #ff7043;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    padding-top: 50px;
}

/* Error código */
.error-codigo {
    font-size: 60px;
    color: #ff7043;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

/* Error texto */
.error-texto {
    color: #333;
    font-size: 16px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto 20px auto;
}


/* === BOTÓN PRINCIPAL === */
.btn-principal {
    background-color: #ff7043;
    color: white;
    padding: 14px 26px;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.btn-principal:hover {
    background-color: #ff5a2c;
}

/* === RESPONSIVE DESIGN === */
@media (min-width: 768px) {
    .logo {
        width: 250px;
    }

    .btn-principal {
        font-size: 20px;
        padding: 16px 32px;
    }
}

/* === NOTA: TODOS LOS ARCHIVOS ESTÁN EN UTF-8 BOM PARA EVITAR PROBLEMAS DE ACENTOS === */

/* --- Estilos específicos para formulario de Datos del Negocio --- */

.form-container {
    max-width: 400px;
    width: 100%;
}

h2 {
    color: #ff6b4a;
    font-size: 28px;
    margin-bottom: 8px;
    text-align: left;
}

.sub {
    text-align: left;
    font-size: 14px;
    margin-bottom: 20px;
    color: #444;
}

#form-negocio input[type="text"],
#form-negocio input[type="tel"],
#form-negocio textarea,
#form-negocio select {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    outline: none;
}

#form-negocio select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}

#form-negocio textarea {
    border-radius: 12px;
    resize: vertical;
}

#form-negocio label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

#form-negocio input[type="checkbox"] {
    margin-right: 10px;
}

#form-negocio button {
    background: #ff6b4a;
    color: white;
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

/* ===== MEJORAS DE FORMULARIO ===== */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.form-container {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-container input[type="text"],
.form-container input[type="tel"],
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    outline: none;
}

.form-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}

.form-container textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-container label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.form-container input[type="checkbox"] {
    margin-right: 10px;
}

.form-container button {
    background: #ff6b4a;
    color: white;
    padding: 14px 24px;
    width: 100%;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #e65c3c;
}

.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}


.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.boton-continuar {
    background: #ff6b4a;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin: 24px auto 0;
    /* <-- centra */
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton-continuar:hover {
    background: #e65c3c;
}

/* Para que el contenedor esté en el centro */
.boton-container {
    display: flex;
    justify-content: center;
}

.logo-exito {
    width: 160px;
    margin: 20px auto 10px;
    display: block;
}

/* === RESET GENERAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE DEL BODY === */
body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* === MENÚ HAMBURGUESA === */
#menu-hamburguesa {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
}

.menu-toggle {
    width: 36px;
    height: 36px;
    object-fit: contain;
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    display: none;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to bottom, #ff7043, #ff5a2c);
    z-index: 999;
    padding: 60px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.menu-panel.show {
    transform: translateX(0%);
}

.menu-user {
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 16px;
    color: white;
}

.menu-lista {
    list-style: none;
    padding-left: 0;
}

.menu-lista li {
    margin-bottom: 24px;
}

.menu-lista li a {
    text-decoration: none;
    font-size: 20px;
    color: white;
}

/* === CONTENIDO PRINCIPAL === */
.main-content {
    margin-top: 40px;
    flex: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === FORMULARIO DE REGISTRO === */
#registroForm {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 50px) clamp(3px, 1vw, 5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 20px;
}

#registroForm .logo {
    width: 220px;
    max-width: 90%;
    margin-bottom: 20px;
}

#registroForm h1.registro-titulo {
    font-size: 24px;
    color: #ff7043;
    margin-bottom: 25px;
    font-weight: 800;
    text-align: center;
}

#registroForm input[type="email"],
#registroForm input[type="text"],
#registroForm input[type="password"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 30px;
    outline: none;
    background: #fff;
}

#registroForm input:focus {
    border-color: #ff7043;
    box-shadow: 0 0 0 2px rgba(255, 112, 67, 0.2);
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
    width: 100%;
}

.checkbox-wrap input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    gap: 8px;
    /* Espacio entre el checkbox y el texto */
    justify-content: center;
    /* Centra todo horizontalmente */
}

.checkbox-wrap label {
    font-size: 12px;
    color: #ff7043;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
}

.checkbox-wrap a {
    color: #ff7043;
    text-decoration: underline;
    font-weight: 500;
}

#registroForm button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #ff7043;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

#registroForm button:disabled {
    background-color: #ccc;
}

/* === MENSAJE DE ERROR === */
.mensaje-error {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
    text-align: center;
}

/* === FOOTER GLOBAL === */
footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 30px 0;
}

footer a {
    color: #ff7043;
    text-decoration: underline;
    font-weight: 500;
}

/* === AJUSTES PARA PÁGINAS DE ERROR === */
/* Logo general */
.logo {
    width: 200px;
    max-width: 90%;
    margin-bottom: 20px;
}

/* Error título */
.error-titulo {
    color: #ff7043;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

/* Error código */
.error-codigo {
    font-size: 60px;
    color: #ff7043;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

/* Error texto */
.error-texto {
    color: #333;
    font-size: 16px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto 20px auto;
}


/* === BOTÓN PRINCIPAL === */
.btn-principal {
    background-color: #ff7043;
    color: white;
    padding: 14px 26px;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.btn-principal:hover {
    background-color: #ff5a2c;
}

/* === RESPONSIVE DESIGN === */
@media (min-width: 768px) {
    .logo {
        width: 250px;
    }

    .btn-principal {
        font-size: 20px;
        padding: 16px 32px;
    }
}

/* === NOTA: TODOS LOS ARCHIVOS ESTÁN EN UTF-8 BOM PARA EVITAR PROBLEMAS DE ACENTOS === */

/* --- Estilos específicos para formulario de Datos del Negocio --- */

.form-container {
    max-width: 400px;
    width: 100%;
}

h2 {
    color: #ff6b4a;
    font-size: 28px;
    margin-bottom: 8px;
    text-align: left;
}

.sub {
    text-align: left;
    font-size: 14px;
    margin-bottom: 20px;
    color: #444;
}

#form-negocio input[type="text"],
#form-negocio input[type="tel"],
#form-negocio textarea,
#form-negocio select {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    outline: none;
}

#form-negocio select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}

#form-negocio textarea {
    border-radius: 12px;
    resize: vertical;
}

#form-negocio label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

#form-negocio input[type="checkbox"] {
    margin-right: 10px;
}

#form-negocio button {
    background: #ff6b4a;
    color: white;
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

/* ===== MEJORAS DE FORMULARIO ===== */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.form-container {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-container input[type="text"],
.form-container input[type="tel"],
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    outline: none;
}

.form-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}

.form-container textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-container label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.form-container input[type="checkbox"] {
    margin-right: 10px;
}

.form-container button {
    background: #ff6b4a;
    color: white;
    padding: 14px 24px;
    width: 100%;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #e65c3c;
}

.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}


.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.boton-continuar {
    background: #ff6b4a;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin: 24px auto 0;
    /* <-- centra */
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton-continuar:hover {
    background: #e65c3c;
}

/* Para que el contenedor esté en el centro */
.boton-container {
    display: flex;
    justify-content: center;
}

.logo-exito {
    width: 160px;
    margin: 20px auto 10px;
    display: block;
}

/* ===== DASHBOARD ===== */
.perfil-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.perfil-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    position: relative;
}

.nombre-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nombre-container img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.boton-opcion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 80%;
    margin: 15px auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.boton-suscripcion {
    display: block;
    width: 80%;
    margin: 25px auto;
    padding: 14px;
    background: #5047EB;
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

/* --- Botones de Opciones del Dashboard --- */
.boton-opcion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 320px;
    margin: 12px auto;
    padding: 16px 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.boton-opcion img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


/* --- Botón azul --- */
.boton-suscripcion {
    background-color: #5047EB;
    color: #fff;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    padding: 16px;
    width: 90%;
    margin: 25px auto;
    display: block;
    font-size: 18px;
}

/* Ajustes del Body */
body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    /* Permitir scroll */
}

/* ===== Ajustes Específicos para el Dashboard ===== */

/* Contenedor general del dashboard */
/* === DASHBOARD - ESTILOS ESPECÍFICOS === */

/* Contenedor principal del dashboard */
.dashboard-content {
    flex: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 120px;
    margin-bottom: 100px;
    /* ✅ Aquí agregamos espacio para empujar el footer */
    box-sizing: border-box;
}

/* Foto de perfil */
.perfil-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Texto de saludo */
.dashboard-content {
    flex: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 60px;
    /* ✅ Header más pequeño */
    margin-bottom: 130px;
    /* ✅ Footer más alejado */
    box-sizing: border-box;
}

/* Header (logo + botón atrás) */
header {
    padding: 10px 0;
    /* ✅ Menor altura del header */
}


/* Título de Opciones */
.dashboard-opciones {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 25px;
}

/* Botones de las opciones */
.boton-opcion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 320px;
    margin: 12px auto;
    padding: 16px 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

/* Botón de suscripción (morado) */
.boton-suscripcion {
    display: block;
    width: 320px;
    margin: 30px auto 20px auto;
    padding: 16px 20px;
    background: #5047EB;
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    font-size: 16px;
}

/* Footer fijo */
.footer-nav {
    background: #ff7043;
    padding: 12px 0;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 99%;
    max-width: 412px;
    position: fixed;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.footer-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.footer-nav img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

/* Estilos generales login */
body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

form {
    width: 90%;
    max-width: 450px;
    background: #fff;
    border-radius: 30px;
    padding: 40px 25px;
    box-sizing: border-box;
}

.logo {
    display: block;
    margin: 0 auto 20px;
    height: 60px;
}

h1 {
    font-size: 36px;
    font-weight: 800;
    color: #ff7043;
    text-align: center;
    margin-bottom: 30px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 30px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 16px;
    background: #ff7043;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #ff5722;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 30px;
}

.enlace-registro {
    color: #ff7043;
    font-weight: 600;
    text-decoration: underline;
}

.footer-legales a {
    color: #333;
    text-decoration: underline;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    padding-left: 37px;
}

.mensaje-error {
    color: red;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
}

/* Estilos Menú Hamburguesa */
#menu-hamburguesa {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.menu-toggle {
    height: 36px;
    width: 36px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to bottom, #ff7043, #ff5a2c);
    z-index: 999;
    padding: 60px 20px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'IBM Plex Serif', serif;
    color: white;
}

.menu-panel.show {
    transform: translateX(0%);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    display: none;
}

.menu-user {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
}

.menu-lista {
    list-style: none;
    padding-left: 0;
}

.menu-lista li {
    margin-bottom: 24px;
    font-size: 20px;
}

.menu-lista li a {
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.menu-lista li a:hover {
    opacity: 0.85;
}

.boton-suscripcion {
    background-color: #4a3aff;
    /* Tu morado */
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    animation: aparecerBoton 1.2s ease-out forwards;
    transform: scale(0.9);
    opacity: 0;
}

/* Animación */
@keyframes aparecerBoton {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dashboard-saludo {
    font-size: 24px;
    font-weight: bold;
    color: #ff5733;
    /* El naranjita que estás usando */
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: aparecerSaludo 1s ease-out forwards;
    animation-delay: 0.3s;
    /* ✨ Aparece con 0.3s de retraso */
}

/* Keyframes de la animación */
@keyframes aparecerSaludo {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* pantalla métricas */
.metricas-contenedor {
    padding: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.titulo-metricas {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

.instalaciones {
    font-size: 64px;
    color: #FF6A4D;
    font-weight: 600;
    margin: 0;
}

.texto-inst {
    font-size: 14px;
    margin-bottom: 40px;
    color: #000;
    font-weight: 500;
}

.cuadricula-metricas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.bloque-metrica {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.numero-metrica {
    font-size: 36px;
    font-weight: bold;
    color: #555;
    margin: 0;
}

.etiqueta-metrica {
    font-size: 12px;
    color: #444;
    margin-top: 5px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .cuadricula-metricas {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.bloque-metrica {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.bloque-metrica:hover {
  transform: scale(1.03);
}

.bloque-metrica {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.bloque-metrica:nth-child(1) { animation-delay: 0.3s; }
.bloque-metrica:nth-child(2) { animation-delay: 0.5s; }
.bloque-metrica:nth-child(3) { animation-delay: 0.7s; }
.bloque-metrica:nth-child(4) { animation-delay: 0.9s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.numero-metrica.efecto-final {
  animation: pop 0.3s ease-in-out;
}
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* pantalla editar algunos datos */
.perfil-foto {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 30px; /* más redondeado */
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

.editar-link {
  text-align: center;
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 24px;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}

.btn-enviar {
  width: 90%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  background: #ff7043;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
}

.content-scrollable {
  padding-top: 120px; /* aumenta de 90px a 120px para evitar que lo tape */
  padding-bottom: 120px;
  text-align: center;
}

.perfil-foto {
  display: block;
  margin: 0 auto;
}

.dashboard-opciones {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

