:root {
    --primary: #005f73;
    --secondary: #0a9396;
    --accent: #ee9b00;
    --light: #e9d8a6;
    --dark: #001219;
    --card-bg: rgba(255, 255, 255, 0.95);
    --modal-bg: rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    touch-action: manipulation;
}

body {
    background: url('../img/logo/creator-2.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: var(--dark);
    overflow-x: hidden;
    font-size: 14px;
    /* texto base más pequeño */
}


/******************************************************/
/**************************inde.php-register.php*******************/
/******************************************************/
/********************************************************/
/******************************************************/
/********************************************************/



/*******modal instalar app***********/

.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001 !important;
}

.install-modal-content {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.install-modal-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.install-modal-content p {
    font-size: 15px;
    margin-bottom: 20px;
}

.install-modal-content .buttons button {
    margin: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#installBtn {
    background-color: #28a745;
    color: white;
}

#dismissBtn {
    background-color: #dc3545;
    color: white;
}

@media (min-width: 992px) {
    .install-modal {
        display: none !important;
    }
}
/*******************************/
/*******************************/

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-column {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 400px;
    width: 100%;
    border: 4px solid #007bff;
    border-radius: 12px;
    padding: 4px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-box {
    background-color: #e0f0ff;
    border: 2px solid #007bff;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.highlight-box h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .logo-img {
        max-width: 90%;
    }

    .highlight-box h1 {
        font-size: 1.8rem;
    }

    input.form-control {
        font-size: 1rem;
        padding: 1rem;
    }

    .btn {
        font-size: 1.3rem;
        padding: 0.75rem;
    }
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.logo-form {
    background-color: black;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-blanco {
    color: white;
}

.footer-links a {
    cursor: pointer;
    z-index: 10;
    position: relative;
}



/******************************************************/
/**************************login.php*******************/
/******************************************************/
/********************************************************/
/******************************************************/
/********************************************************/

.login-card {
    background-color: black;
    /* gris claro transparente */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-card input.form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
}

.login-card button {
    border-radius: 8px;
    padding: 10px;
}


.login-card label,
.login-card p,
.login-card p a {
    color: white;
}



/* ===login  Botón del ojo **/
#togglePassword {
    background-color: brown;
    color: white;
    border: none;
    transition: all 0.3s ease;
}


/* Al hacer clic */
#togglePassword:active {
    transform: scale(0.95);
}







/******************************************************/
/**************************menu_qr.php*******************/
/******************************************************/
/********************************************************/
/******************************************************/
/********************************************************/


.legal-links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}



.nav-card {
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid #007bff;
    border-radius: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    margin-bottom: 20px;
}

.info-card {
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid #28a745;
    border-radius: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    margin-bottom: 20px;
}

.nav-card:hover,
.info-card:hover {
    transform: scale(1.03);
}

.hand-click {
    animation: bounce 2s infinite;
    font-size: 1rem;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


.dias-carta {
    display: inline-block;
    background-color: brown;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 5px 12px;
    margin-bottom: 10px;
    color: #000;
}

.dias-menu {
    display: inline-block;
    background-color: #88aed6;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 5px 12px;
    margin-bottom: 10px;
    color: #000;
}


.dia-section {
    border-left: 4px solid #007bff;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.categoria-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.plato-item {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.plato-precio {
    color: #28a745;
    font-weight: bold;
}

.info-item {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.precio-destacado {
    font-size: 1.2em;
    font-weight: bold;
    color: #dc3545;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
}

.alergeno-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}



/*****modal***/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}


.back-button {
    background-color: brown;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #5a2e0b;
}




/******************************************************/
/**************************dasboard.php*******************/
/******************************************************/
/********************************************************/
/******************************************************/
/********************************************************/
  

   .dish-container {
       border: 1px solid #ced4da;
       padding: 1rem;
       margin-bottom: 1rem;
       border-radius: 0.375rem;
   }

   .form-label {
       font-weight: bold;
   }


   .day-selector .btn {
       border-radius: 50px;
       padding: 0.35rem 1rem;
       font-size: 0.9rem;
       transition: all 0.2s;
   }

   .day-selector .btn:hover {
       background-color: #adb5bd;
       color: #fff;
   }

   .day-selector .btn.active {
       background-color: #6c757d;
       color: #fff;
       box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
   }

   /* Badge de día */
   .current-day-badge {
       font-size: 0.85rem;
       padding: 0.3rem 0.8rem;
       border-radius: 20px;
       background-color: #f8f9fa;
       color: #495057;
       border: 1px solid #dee2e6;
   }

   /* Tabs de categorías */
   .nav-tabs .nav-link {
       border: none;
       border-radius: 0.5rem 0.5rem 0 0;
       margin-right: 0.3rem;
       color: #495057;
       font-weight: 500;
       transition: background 0.2s, color 0.2s;
   }

   .nav-tabs .nav-link.active {
       background-color: #0d6efd;
       color: #fff;
       box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
   }

   /* Cards de platos */
   .dish-container {
       border-radius: 0.75rem;
       box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
       transition: transform 0.2s;
   }

   .dish-container:hover {
       transform: translateY(-2px);
   }

   /* Botones de acción */
   .btn-outline-primary,
   .btn-success,
   .btn-danger {
       border-radius: 0.5rem;
       font-size: 0.85rem;
       padding: 0.35rem 0.8rem;
   }


   .mensaje-ajax {
       position: fixed;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%);
       background: #0d6efd;
       color: white;
       padding: 16px 24px;
       border-radius: 8px;
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
       display: none;
       z-index: 9999;
       text-align: center;
       font-size: 1rem;
       max-width: 90%;
   }











   


   