.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}



.navbar-custom .nav-link {
    color: #675541;
    margin: 0 12px;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: #FEBF00;
}

.logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 10px;
    padding: 0;
}


.btn-login {
    background-color: #FEBF00;
    color: #675541;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 8px 18px;
    transition: 0.3s ease;
}

.btn-login:hover {
    background-color: #e0aa00;
    color: white;
}

.btn-login i {
    margin-right: 6px;
}

.footer-custom {
    background-color: #675541;
    color: white;
    
    box-shadow: 0 -7px 10px rgba(0, 0, 0, 0.1);
    font-size: 15px;
}

.footer-custom p {
    margin: 0;
}

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

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

.card {
    border-radius: 16px;
    transition: 0.3s ease-in-out;
    background-color: #fff;
    border: none;
}

.card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.card h5 {
    font-weight: 600;
    color: #444;
}

.table {
    border-radius: 12px;
    overflow: hidden;
}

.card h4 {
    font-weight: 700;
}

.card h6 {
    font-size: 14px;
    color: #fff ;
    margin-bottom: 4px;
}

.chart-container {
    position: relative;
    height: 260px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .row > div {
        margin-bottom: 20px;
    }
}
.encabezado-pdf {
    text-align: center;
    margin-bottom: 20px;
  }
  .encabezado-pdf img {
    max-width: 100px;
    margin-bottom: 10px;
  }
  .encabezado-pdf h4 {
    margin: 0;
    font-weight: bold;
  }
  .encabezado-pdf small {
    font-style: italic;
    color: #555;
  }

  .hero-parallax {
    margin-top: 0;
    padding-top: 160px; /* compensa altura del navbar */
    background-image: url('/IMG/Banner.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 650px;
    position: relative;
    z-index: 1;
}

.hero-parallax::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

.pagina-inicio .navbar-custom {
    background-color: rgba(255, 255, 255, 0.85) !important; /* sí transparente */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Estilo para el nombre de la empresa */
.empresa-nombre {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FEBF00;
    margin-bottom: 10px;
}

/* Alineación del hero (solo index) */
.pagina-inicio .hero-parallax {
    display: flex;
    justify-content: flex-start; /* ahora a la izquierda */
    align-items: center;
    padding-left: 60px;
    padding-right: 20px;
}

.pagina-inicio .hero-parallax .container {
    max-width: 600px;
}

@media (max-width: 768px) {
    .pagina-inicio .hero-parallax {
        justify-content: center;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .pagina-inicio .hero-parallax .container {
        max-width: 100%;
    }
}

.bg-hueso {
    background-color: #f8f5f0; /* blanco hueso suave */
}

.bg-hueso {
    background-color: #f8f5f0; /* blanco hueso suave */
}

.bg-bone {
    background-color: #f7f4ee; /* blanco hueso */
  }
  
  .card-categoria-custom {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    width: 160px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card-categoria-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  }
  
  .icono-categoria-custom {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
  }
  
  .categoria-nombre {
    font-weight: 600;
    color: #333333;
    margin: 0;
  }
  
  .card-producto {
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
    padding: 30px;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, #faf7f2, #eee);
    font-family: 'Roboto', sans-serif;
}

.login-box {
    background-color: #fff;
    border: 2px solid #675541;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.login-box .logo {
    width: 60px;
    margin-bottom: 10px;
}

.login-box h1 {
    font-size: 26px;
    color: #675541;
    margin-bottom: 8px;
}

.login-box h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Clientes */

.container-clientes {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

h1 {
    color: #675541;
    margin-bottom: 20px;
}

.form-registro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.form-registro input, .form-registro button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.form-registro input {
    flex: 1 1 200px;
}

.form-registro button {
    background-color: #FEBF00;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.tabla-clientes {
    width: 100%;
    border-collapse: collapse;
}

.tabla-clientes th, .tabla-clientes td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tabla-clientes th {
    background-color: #f7f4ee;
    font-weight: 600;
}

.btn-ver, .btn-inactivar, .btn-historial {
    margin: 2px;
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
}

.btn-ver {
    background-color:#0d6efd;
    color: #fff;
}

  .btn-ver:hover {
    background-color: #0b5ed7;
  }

.btn-inactivar {
    background-color: #888;
    color: #fff;
}

  .btn-inactivar:hover {
    background-color: #727272;
  }


.btn-historial {
  background-color: #FEBF00;
  color: #000;
  border: none;
}

.btn-historial:hover {
  background-color: #e0a800;
  color: #000;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-contenido {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.modal-contenido input {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.modal-contenido button {
    margin-top: 10px;
    background-color: #FEBF00;
    color: #000;
    border: none;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}
.btn-eliminar {
    background-color: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .btn-eliminar:hover {
    background-color: #bb2d3b;
  }
  

.cerrar {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.btn-login {
  background-color: #FEBF00;
  color: #675541;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  transition: 0.3s ease;
}

.btn-login:hover {
  background-color: #e0aa00;
  color: white;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-contenido {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-contenido h2 {
    margin-top: 0;
    color: #675541;
}

.modal-contenido p {
    margin-bottom: 10px;
    font-size: 16px;
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar:hover {
    color: #000;
}

/* Quitar azul de los items del dropdown cuando se hace click/focus */
        .dropdown-menu .dropdown-item:focus,
        .dropdown-menu .dropdown-item:active {
            background-color: #FEBF00 !important;
            color: #000 !important;
        }

/* ============================= */
/* BOTÓN LOGIN NUEVO (NAVBAR) */
/* ============================= */

.login-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #675541;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.login-link-premium i {
    font-size: 22px;
    color: #1f1f1f;
    transition: transform 0.2s ease;
}

.login-link-premium span {
    letter-spacing: 0.2px;
}

.login-link-premium:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FEBF00;
}

.login-link-premium:hover i {
    transform: scale(1.08);
}