/* General */
body {
     background-color:  #e3e3e3;  
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

header h1 {
    margin: 0;
}
.bienvenido {
  margin-top: 10px;
  font-family: 'Quicksand', sans-serif;
   font-size: 1.8rem !important;
  font-weight: bold;
  color: white;
}

h4 {
color: #949ca4;
}


h1 {
    color: #009966;
    margin: 30px 0 20px;
}

.agenda-container {
    max-width: 960px;
    margin: auto;
    background-color:  #e3e3e3 !important;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.bloque-horario {
     max-width: 960px;
    border: 1px solid #808484;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}
.bloque-horario:hover {
background-color: #e0e0e0;
}

.bloque-horario.libre a {
    color: #009966;
    font-weight: bold;
    text-decoration: none;
    flex-grow: 1;
}

.bloque-horario.libre a:hover {
color: #002b21
}
.bloque-horario.ocupado {
    background-color: #fff3f3;
    border-left: 5px solid #dc3545;
    padding: 0;
}
.cita-card{
    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:12px;
    padding:12px;
    margin:6px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
  }

  .cita-row{ display:flex; align-items:center; gap:.75rem; }
  .cita-head{ justify-content:space-between; margin-bottom:.25rem; }
  .cita-meta{ flex-wrap:wrap; color:#555; font-size:.95rem; margin-bottom:.5rem; gap:.5rem; }
  .cita-acciones{ flex-wrap:wrap; gap:.5rem; }

  .cita-hora{
    font-weight:700;
    font-size:1.05rem;
    background:#f5f5f5;
    border:1px solid #e9e9e9;
    padding:.25rem .5rem;
    border-radius:8px;
    min-width:3.8rem;
    text-align:center;
  }
  .cita-nombre{ font-weight:700; text-decoration:none; color:#222; }

  .cita-servicio{ font-weight:600; }
  .cita-raza, .cita-corte{ color:#6b6b6b; }

  .cita-pago-form{
    display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
  }
  .cita-pago-form .form-select,
  .cita-pago-form .form-control{
    min-width:110px;
  }
  .cita-pago-form .form-control{ max-width:110px; }

  /* Responsive */
  @media (max-width: 576px){
    .cita-head{ flex-direction:row; align-items:center; gap:.75rem; }
    .cita-acciones{ flex-direction:row; }
    .cita-pago-form .form-control{ max-width:95px; }
  }

.alert-danger {
    padding: 5px;

}

.paypal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}
#paypal-button-container {
    width: 100%;
    max-width: 400px;
   display: flex;
    justify-content: center;
    margin-top: 1em;
}
.paypal.Buttons {
   margin: auto; 
   text-align: center;
   align-items: center;
}


  .paypal-center {
    display: flex;
    justify-content: center;
    margin-top: 1em;
  }



h2 {
    color: #444;
    margin-top: 40px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
}

a {
    color: #323f48;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.ocupado {
    color: black;
    font-weight: bold;
}
.bloque-horario.ocupado {
  color: #000; /* texto en negro */
}
.nombre-mascota {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
}
.buscador-wrapper {
  position: relative;
  max-width: 400px;
  margin-bottom: 2rem;
}

.cita-head{
  justify-content:flex-start; /* antes estaba space-between */
  gap:.75rem;
}

.cita-nombre{
  font-weight:700;
  text-decoration:none;
  color:#222;
}

.cita-extra{
  margin-top:.5rem;
}

.cita-card {
  width: 100%;       /* que ocupe todo el ancho */
  margin: 0;         /* fuera márgenes extra */
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

#sugerencias {
  position: absolute;
  width: 100%;
  z-index: 10;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: none;
}

.sugerencia-item {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sugerencia-item:hover {
  background-color: #f0f0f0;
}

#video-container {
  width: 50%;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tutorial-title {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #333;
  text-align: center;
}

.contenedor-central {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilo general del segundo menú */
.submenu {
    background-color: #f5f5f5;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sub-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flecha-gris {
  color: grey;
}

.desglose-tabla {
  table-layout: fixed;  /* 👈 fuerza distribución fija */
  width: 100%;          /* ocupa todo el ancho disponible */
}
.desglose-tabla th,
.desglose-tabla td {
  width: 25%;           /* 4 columnas iguales */
  text-align: center;
}



  .sugerencia-item {
    padding: 5px;
    cursor: pointer;
    background: #f1f1f1;
    border-bottom: 1px solid #ccc;
  }

  .sugerencia-item:hover {
    background: #ddd;
  }

  #sugerencias {
    position: absolute;
    background: white;
    z-index: 10;
    width: 100%;
    border: 1px solid #ccc;
  }

  .sugerencias-wrapper {
    position: relative;
  }



.sub-menu li a {
    text-decoration: none;
    font-weight: bold;
    color: #343c4a;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, font-size 0.3s;
}

.sub-menu li a:hover {
    background-color: #e0e0e0;
    font-size: 17px;
}

/* Responsive para el segundo menú */
@media (max-width: 768px) {
    .sub-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

.nav-video {
  list-style: none;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.menu-video {
  height: 40px;
  width: auto;
 
  transition: transform 0.3s;
}

.menu-video:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .menu-video {
    height: 30px;
  }
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* 🐶 Caniche */
.logo-caniche-video {
  height: 90px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* 👋 Bienvenida */
.bienvenido {
  margin-top: 15px;
  font-size: 2.5rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  color: #333;
}

/* 📦 y 🎥 contenedor */
.iconos-laterales {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Iconos individuales */
.icono-lateral img {
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icono-lateral img:hover {
  transform: scale(1.55);
}

.politica-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}


.btn-igual {
  background-color: #dc3545;  /* rojo Bootstrap */
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s;
}

.btn-igual:hover {
  background-color: #bb2d3b;
  
}

.btn-igual {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s;
}

.btn-igual:hover {
  background-color: #bb2d3b;

}



.btn btn-secuntario {
background-color: red;

}
.politica-container h1 {
  font-size: 2rem;
  color: #007a4d;
  margin-bottom: 1rem;
  text-align: center;
}

.politica-container h3 {
  margin-top: 1.5rem;
  color: #555;
  font-size: 1.2rem;
}

.politica-container p {
  margin-bottom: 1rem;
}

.politica-container a {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #00b36b;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.politica-container a:hover {
  background-color: #007a4d;
}

/* Responsive */
@media (max-width: 600px) {
  .politica-container {
    padding: 1rem;
  }

  .politica-container h1 {
    font-size: 1.6rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-caniche-video {
    height: 100px;
  }

  .bienvenido {
    font-size: 1.8rem;
  }

  .iconos-laterales {
    flex-direction: column;
    gap: 15px;
    padding: 0;
  }

  .icono-lateral img {
    height: 80px;
  }
}




h4 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #333;
  }

.inline {
    display: inline-block;
    margin-left: 10px;
}

select {
    padding: 5px;
    font-size: 14px;
}

button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #b71c1c;
}

.boton {
    display: inline-block;
    background-color: #00b36b;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
}

.boton:hover {
    background-color: #009966;
}

.fecha-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    text-align: center;
    padding: 10px;
    max-width: 90%;
}

.fecha-form label {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.fecha-form input[type="date"] {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 280px;
}

.btn-agenda {
    background-color: #6d7072;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 180px;
     margin-top: 1rem;
}

.btn-agenda:hover {
    background-color: #3d3d3d;
}

@media (max-width: 768px) {
  .btn-agenda {
  
    margin-top: 2rem;
  }
}
.contador {
 color: #949ca4;   
}
.table-bordered {
  border-collapse: collapse;
    width: 70%;
    margin-bottom: 2rem;
    background-color: #9b9494;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  
    margin: auto;
    text-align: left;
}

.table-bordered th {
 border: 1px solid #66686b;
    padding: 0.75rem;
    vertical-align: middle;  
     background-color: #babec2;
    font-weight: 600; 
    width: 30%;
    color:#0b3829;
}
.table-bordered td {
 border: 1px solid #66686b;
    padding: 0.75rem;
    vertical-align: middle;  
     background-color: #dee2e6;
    font-weight: 600; 
    width: 50%;
}

.tabla-centrada {
    margin: 0 auto;
    border-collapse: collapse;
    width: 80%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tabla-centrada th, .tabla-centrada td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    margin: auto;
}

.tabla-centrada th {
    background-color: #00b36b;
    color: white;
    margin: auto;
}

.tabla-centrada tr:hover {
    background-color: #f5f5f5;
}

 .bloque-cita {
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: #babec2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: left;
    width: 60%;
    margin: auto;
  }

  .bloque-cita h4 {
    margin-bottom: 0.75rem;
    color: #333;
  }

  .bloque-cita .campo-cita {
    margin-bottom: 0.5rem;
  }

  .bloque-cita .campo-cita span {
    font-weight: bold;
    display: inline-block;
    width: 120px;
  }

  .bloque-cita .editar-link {
    margin-top: 0.5rem;
    display: inline-block;
    color: #0d6efd;
    text-decoration: none;
  }

  .bloque-cita .editar-link:hover {
    text-decoration: underline;
  }

  .campo-cita {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.campo-cita span {
  font-weight: bold;
  min-width: 130px;
  color: #333;
  flex-shrink: 0;
}

.campo-cita div {
  flex-grow: 1;
  word-break: break-word;
}

   @media (max-width: 576px) {
    .campo-cita span {
      min-width: 100%;
      margin-bottom: 2px;
    }
  }
/* Responsive */
@media (max-width: 768px) {
    li {
        flex-direction: column;
        align-items: flex-start;
    }

    h2 {
        text-align: center;
    }
}
.sugerencias-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto; /* centrado */
}

#sugerencias {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    border: 1px solid #ccc;
    background-color: white;
    max-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.imagenes-container {
  display: flex;
  justify-content: center; /* opcional: centra horizontalmente */
  gap: 20px;               /* espacio entre imágenes */
  flex-wrap: nowrap;       /* evita que se bajen en pantallas grandes */
  padding: 20px;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

 @media (max-width: 768px) {
    .tabla-mascotas {
         display: none; 
       
        }
  }

  /* Ocultar tarjetas en escritorio */
  @media (min-width: 769px) {
    .tarjeta-mascota { 
        display: none; 
    
    }
  }

  .tarjeta-mascota {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: 80%;
    margin: auto;
    text-align: center;
  }

  .tarjeta-mascota .campo {
     display: flex;
  align-items:center;
  gap: 0.5rem;
  font-size: 0.95rem;
  }

  .tarjeta-mascota .campo span {
   font-weight: bold;
  min-width: 130px;
  color: #333;
  flex-shrink: 0;
  }


/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
  .fecha-form {
    flex-direction: column;
    align-items: stretch;
    margin: auto;
  }

  .btn-agenda {
    margin: auto;
    
  }

  .tabla-centrada {
margin: auto;
width: 80%;
  }

   .campo-cita {
      flex-direction: column;
      gap: 0.2rem;
    }

    .campo-cita span {
      min-width: unset;
    }

  .fecha-form input[type="date"],
  .fecha-form button {
    width: 90%;
    margin: auto;
  }
}
.titulo-pedidos {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-pedido {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.form-pedido input[type="text"] {
  padding: 10px;
  width: 300px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-pedido button {
  padding: 10px 15px;
  background-color: #00b36b;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form-pedido button:hover {
  background-color: #007a4d;
}

.lista-pedidos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pedido-item {
  display: flex;
  align-items: center;         /* Alinea verticalmente */
  justify-content: space-between;
  background-color: #f9f9f9;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  gap: 0.5rem;
}

.form-toggle,
.form-eliminar {
  margin: 0;
}

.btn-toggle,
.btn-eliminar {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.pedido-nombre {
  flex: 1;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  word-break: break-word;
}

/* Eliminar reglas móviles que rompen la estructura horizontal */
@media screen and (max-width: 600px) {
  .pedido-item {
    flex-direction: row;       /* Mantener horizontal */
    align-items: center;
  }
}
.pedido-contenido {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Espacio entre checkbox y texto */
  flex: 1;
}


.comprado .pedido-nombre {
  text-decoration: line-through;
  color: gray;
}

.admin-form-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.admin-form-container h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.admin-form-container form {
  display: flex;
  flex-direction: column;
}

.admin-form-container label {
  margin-top: 1rem;
  font-weight: bold;
}

.admin-form-container input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.admin-form-container button {
  margin-top: 1.5rem;
  padding: 10px;
  background-color: #007a5e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.admin-form-container button:hover {
  background-color: #005f47;
}

.volver-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #333;
  text-decoration: none;
}

.volver-link:hover {
  text-decoration: underline;
}

/* Estilos para el panel de administración de usuarios */
h1 {
  text-align: center;
  font-size: 2rem;
  margin-top: 1rem;
  color: #333;
}

.boton {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 10px 20px;
  background-color: #00b36b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.boton:hover {
  background-color: #008f57;
}

.tabla {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.tabla thead {
  background-color: #f3f3f3;
}

.tabla tr:hover {
  background-color: #f9f9f9;
}

.tabla td form {
  display: inline;
}

.tabla button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.tabla button:hover {
  color: red;
}

.boton-salir {
  background-color: #e74c3c;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.boton-salir:hover {
  background-color: #c0392b;
}


.btn-consultas {
  background-color: #6d7072;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin: 1rem;
}

.btn-consultas:hover {
  background-color: #3d3d3d;
}
.prueba-finalizada {
  padding: 20px;
}
