* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Bubble3D';
    src: url('../fonts/Bubble3D.woff2') format('woff2'),
         url('../fonts/Bubble3D.woff') format('woff'),
         url('../fonts/Bubble3D.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
        @font-face {
            font-family: 'Cyborg Punk';
            src: url('../fonts/Cyborg Punk.woff2') format('woff2'),
                 url('../fonts/Cyborg Punk.woff') format('woff'),
                 url('../fonts/Cyborg Punk.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }


body {
    height: 100vh; 
    padding-top: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('Logo.png') no-repeat center center fixed;
    background-size: 400px; 
    background-position: center center;
    position: relative;
    color: rgb(0, 0, 0); 
    background-color: rgba(177, 161, 161, 0.582)

}

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to right, #FF0000, #FFFFFF, #0000FF);
      padding: 10px;
      display: flex;
      align-items: Right;
      justify-content: space-between;
      font-family: 'Bubble3D', sans-serif;
      font-size: 20px;  
      text-align: center;
      z-index: 1000;
    }

.bienvenida {
    font-family: 'Times New Roman', sans-serif;   
    font-size: 20px;                    
    line-height: 1.6;                   
    color: #000000;                        
    text-align: center;                 
    margin: 40px auto;                  
    max-width: 800px;                  
    padding: 20px;                      
    border-radius: 10px;               
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    font-weight: bold;
}

.content 
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu-button {
    position: fixed;
    top: 6px;
    left: 6px;
    background: #444;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;

    background: #222;
    background-image: url('logo2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 270px;
    
    color: white;
    padding-top: 40px;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}


.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.sidebar ul li a:hover {
    background: #444;
    padding-left: 10px;
    transition: 0.3s;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.overlay.active {
    display: block;
}

.btn-confirmar {
    padding: 10px 20px;
    font-size: 16px;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.btn-confirmar:hover {
    background-color: #76b5f8;
}

/* Botones */
.btn-confirmar {
    display: inline-block;
    padding: 10px 20px;
    background: #444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background 0.3s;
    text-align: center;
    cursor: pointer;
}

.btn-confirmar:hover {
    background: #666;
}

.btn-cerrar {
    display: inline-block;
    padding: 10px 15px;
    background: #ff4c4c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
}

.btn-cerrar:hover {
    background: #ff0000;
}

.modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background: #444;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background: #666;
}

/************************************************************AGENDAR CITA*********************************************************************/

.AgendarCita {
    display: flex;
    gap: 15px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 80%;
    font-family: 'Arial', sans-serif;
    margin: auto;
}

.container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

        /* Estilo del calendario */
.calendario {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    width: 80%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

/* Colores de disponibilidad */
.alta { background: rgba(92, 184, 92); color: green; } /* 70% de opacidad */
.poca { background: rgba(240, 173, 78); color: yellow; } /* 70% de opacidad */
.sin { background: rgba(217, 83, 79); color: red; pointer-events: none; } /* 70% de opacidad */
.sin-servicio { background: rgba(255, 255, 255); color: white; } /* 70% de opacidad */
.bloqueado { background: #949494; opacity: 0.5; pointer-events: none; }

.disponibilidad {
    border: 1px solid #ccc;
    padding: 15px;
    width: 35%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.leyenda {
    margin-top: 10px;
}

.leyenda div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.leyenda span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #ccc;
}

.horarios {
    margin-top: 20px;
    text-align: center;
}

.BtnAC{
    padding: 10px;
    margin-top: 10px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.BtnAC {
    background: #444;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.BtnAC:hover {
    background: #666;
}

/* Responsive */
@media (max-width: 768px) {
.container {
        flex-direction: column;
        align-items: center;
    }

.calendario, .disponibilidad {
        width: 90%;
        margin-bottom: 20px;
    }
}

.calendario-navegacion {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px 20px;
}

.btnSigAnt {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
}

.btnSigAnt:hover {
    background-color: #666;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 300px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.modal-botones button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#btnAceptarModal {
    background-color: #444;
    color: white;
}

#btnCancelarModal {
    background-color: #f44336;
    color: white;
}

/************************************************************BARRA PROGRESO (RESUMEN.HTML)**************************************************************************/

.progress-container {
    width: 100%;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 20px;
    background-color: #4CAF50;
    text-align: center;
    line-height: 20px;
    color: white;
    transition: width 0.3s ease;
}


/************************************************************FOTO DE PERFIL**************************************************************************/

.profile-top-right {
    position: fixed;  
    top: 15px;         
    right: 15px;       
    z-index: 1002;     
    display: flex;
    align-items: center;
    gap: 10px;         
}

.profile-top-right img {
    width: 50px;       
    height: 50px;
    border-radius: 50%;
    object-fit: cover;   
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); 
}

/************************************************************BARBA****************************************************************************/

.galleryBarba {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.galleryBarba img {
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid transparent;
    transition: border 0.3s;
}

.galleryBarba img.selected {
    border: 3px solid #28a745;
}

.tituloBarba {
    text-align: center;
    font-family: Arial, sans-serif;
}

.botonesBarba {
    text-align: center;
    margin-top: 30px;
}

.botonesBarba button {
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.botonesBarba button:hover {
    background-color: #666;
}

.alertaBarba {
    text-align: center;
    color: red;
    margin-top: 10px;
    font-family: Arial, sans-serif;
}

/************************************************************RESUMEN**************************************************************************/

    .id-card {
        width: 100%;
        max-width: 1000px;
        height: 800px; 
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin: 30px auto;
        background: rgba(0, 0, 0, 0.7);
        position: relative;
        text-align: center;
    }

    .imagenes-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex: 1;
        height: 100%;
        padding: 0 20px;
        gap: 20px;
    }

    .imagen-cabello,
    .imagen-barba {
        width: 250px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .imagen-cabello img,
    .imagen-barba img {
        width: 220px;
        height: 220px;
        object-fit: contain;
        border-radius: 10px;
        border: 3px solid #ccc;
        background-color: #fff;
    }
    
    .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .id-card.una-imagen .imagenes-container {
        justify-content: center;
        gap: 40px;
    }
    
    .id-card.una-imagen .info {
        flex: none;
        width: auto;
    }
    
    .id-card.sin-imagen .imagenes-container {
        justify-content: center;
    }
    
    .id-card.sin-imagen .info {
        text-align: center;
        width: 100%;
    }
    
    .id-card.dos-imagenes .imagenes-container {
        justify-content: space-between;
    }

    .info h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
        color: white;
    }
    
    .label {
        font-weight: bold;
        color: #ffd700;
        margin-top: 12px;
    }
    
    .info p {
        margin: 2px 0;
        color: white;
        font-size: 23px;
        text-align: left;
    }
    
    .boton-regresar,
    .boton-confirmar {
        margin: 10px;
        padding: 12px 24px;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    .boton-regresar:hover {
        background-color: red;
    }
    .boton-confirmar:hover {
        background-color: green;
    }
    
    .modal {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    .modal-content {
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.4);
        text-align: center;
        width: 90%;
        max-width: 400px;
    }
    
    .modal-content button {
        margin: 10px;
        padding: 10px 20px;
        font-weight: bold;
        cursor: pointer;
    }


/************************************************************PERFIL**************************************************************************/

 .profile-card {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  max-width: 400px;
  margin: auto;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  margin-bottom: 10px;
}

.btnPerfil {
  background: #111;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  border-radius: 10px;
}

.modalPerfil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: left;
}

input[name="edit-nombre"] {
  text-transform: capitalize;
}

.preview-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  margin: 10px auto;
}


/************************************************************FICHA BARBERO********************************************************************/

.ficha-barbero {
    background: rgba(31, 31, 46, 0.7);
    border-radius: 12px;
    padding: 100px;
    width: 90%;  /* Ocupa el 90% del ancho de la pantalla */
    max-width: 1500px;  /* Limita el ancho máximo */
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    gap: 50px;  /* Añadir espacio entre la imagen y el texto */
    font-family: 'Arial', sans-serif; 
    font-size: 0px;
}
h2 {
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
}
.detalle-info {
    flex: 2;  /* Se le da más espacio para que el texto ocupe más área */
    padding-right: 20px;
}
.detalle-info p {
    margin: 10px 0;
    font-size: 1.2em; /* Aumentamos el tamaño de la fuente para mejorar la legibilidad */
}
.foto-estilo {
    flex-shrink: 0;
    width: 450px;  /* Ajustamos el tamaño de la imagen */
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.foto-estilo img {
    max-width: 100%;
    max-height: 100%;
    border: 3px solid #fff;
    border-radius: 10px;
    object-fit: cover; /* Asegura que la imagen se recorte correctamente */
}
/************************************************************PAGO TARJETA*********************************************************************/

.contenedorPT {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
}

.contenedorPT h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contenedorPT label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contenedorPT input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.contenedorPT button {
    width: 100%;
    padding: 12px;
    background-color: #444;
    color: #000000;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contenedorPT button:hover {
    background-color: #666;
}

/* Responsive */
@media (max-width: 480px) {
    .contenedorPT {
        margin: 30px 15px;
        padding: 20px;
    }
}

/************************************************************ID CARD PDF**********************************************************************/

@media print {
    .id-card1 {
        width: 100%;
        max-width: none;
        border: 1px solid #000;
        box-shadow: none;
        background: #fff;
        color: #000;
    }
    .photo img, .barba img {
        border: 1px solid #000;
    }
    .boton-regresar, .boton-confirmar, .modal {
        display: none;
    }
}


/************************************************************GALERIA**************************************************************************/

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap:10px;
    padding: 20px;
}

.gallery img {
    width: 91%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 800px;
    overflow-y: auto;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    height: auto;
}

.options {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.checkbox-group, .select-group {
    text-align: left;
    width: 48%;
}

label {
    display: block;
    margin: 10px 0;
}

select {
    width: 100%;
    padding: 5px;
}

button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    background: #444;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #666;
}

.resumen-estilizado {
    background-color: rgba(225, 225, 225, 0.7);
    padding: 25px;
    border-radius: 12px;
    font-family: sans-serif;
  }
  
  .resumen-flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  #resumen-img {
    width: 150px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
  }
  
  .resumen-info p,
  .resumen-info ul {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.5;
  }
  
  .resumen-info ul {
    padding-left: 20px;
  }
  
  .resumen-botones {
    margin-top: 20px;
    text-align: right;
  }
  
  .resumen-botones button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
  }
  
  button.confirmar {
    background-color: #444;
    color: white;
    margin-right: 10px;
  }
  
  button.cancelar {
    background-color: #ff0000;
    color: black;
  }
  /********************************************************* QR ***********************************/
 

.codigo-qr {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px;
  border-radius: 10px;
}

.codigo-qr img {
  width: 70px;
  height: 70px;
}

/********************************************************* Lector QR ******************************************************/ 


/******************************************************** Caramelos encabezado ********************************************/

.encabezado-spacer {
      width: 10%; /* Espacio reservado para el menú o perfil */
    }

    .encabezado-contenido {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .encabezado-imagen {
      width: 30%;
      display: flex;
      justify-content: center;
      height: 60px; /* Altura del contenedor para el gif */
    }

    .encabezado-imagen img {
      height: 100%; /* GIF toma todo el alto del contenedor */
      width: auto;
    }
/* --- Overlay tipo salvapantallas --- */
.overlay-promocion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  backdrop-filter: blur(5px);
}

.overlay-promocion.visible {
  opacity: 1;
  pointer-events: auto;
}

.img-promocion-overlay {
  max-width:100%;
  max-height: 10s0%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  animation: aparecerPromo 0.6s ease;
}

@keyframes aparecerPromo {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/***************************************************Loginempleados**************************************/

.dropdown-toggle { outline: 0; }


.loginE-container {
      background: #fff;
      padding: 2em;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 400px;
    }

/********************************* Footer ***********************************************************/


  .footer {
    position: fixed;
    bottom: -35px; /* se oculta parcialmente */
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #222, #333);
    color: #f2f2f2;
    text-align: center;
    padding: 10px;
    border-top: 2px solid #555;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    font-size: 14px;
    transition: bottom 0.4s ease, opacity 0.3s ease;
    opacity: 0.7;
    z-index: 999;
  }

  .footer:hover {
    bottom: 0;       /* se muestra completamente */
    opacity: 1;      /* se hace más visible */
  }

  .footer-links a {
    color: #f2f2f2;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: #00b894;
  }

  @media (max-width: 600px) {
    .footer {
      font-size: 12px;
      padding: 8px;
    }
  }