/* modificaciones al  css */


@media (max-width:600px) {
	div.PanelGrupo,
div.DocObjTabContainer .TurnosIzq  {
		
		width: 90%;
	}
}

@media (min-width:600px) {
	div.PanelGrupo,
div.DocObjTabContainer .TurnosIzq  {
		
		width: 45%;
	}
}
@media (max-width:600px) {
	div.PanelGrupo,
div.DocObjTabContainer .TurnosDer  {
		
		width: 90%;
	}
}

@media (min-width:600px) {
	div.PanelGrupo,
div.DocObjTabContainer .TurnosDer  {
		width: 45%;

	}
}

div.TurnosDer p {
	color: black;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: normal;
  font-size: 16px;
}

div.TurnosDer {
		background-color: #f9f9f9;
}


/* 🔲 Panel general izquierdo */
.PanelGrupo.TurnosIzq {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5em;
  max-width: 650px;
  box-sizing: border-box;
}



/* 🗓️ Calendario compacto y cuadrado */
.Mes {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  width: 100%;
  box-sizing: border-box;
}


.TituloSemana,
.Semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.TituloSemana span {
  text-align: center;
  font-weight: bold;
  color: #7f8c8d;
  font-size: 0.9em;
}

.Semana span,
.Semana a span {
  display: inline-block;
  width: 100%;
  aspect-ratio: 1 / 1;
  line-height: 1.6;
  text-align: center;
  border-radius: 4px;
  color: #34495e;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
  font-size: 0.9em;
}

.Semana a span:hover {
  background-color: #eaf4ff;
  border-color: #3498db;
  cursor: pointer;
}

.Selected {
  background-color: #3498db !important;
  color: #fff !important;
  font-weight: bold;
  border-color: #2980b9;
}

.Dom {
  color: #e74c3c;
}

.Vacia {
  visibility: hidden;
}

/* 🕒 Selector de horario */
.ControlTurno a span {
  display: inline-block;
  margin: 4px;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #34495e;
  font-size: 0.95em;
  transition: background-color 0.2s, border-color 0.2s;
}

.ControlTurno a span:hover {
  background-color: #eaf4ff;
  border-color: #3498db;
  cursor: pointer;
}

/* 📝 Observaciones sin recuadro */
.CampoTextoGr textarea {
  width: 100%;
  padding: 0;
  font-size: 1em;
  border: none;
  background: none;
  resize: vertical;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: #2c3e50;
}


/* 🔲 Panel general izquierdo */
.PanelGrupo.TurnosIzq {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5em;
  max-width: 650px;
  box-sizing: border-box;
}


/* 🗓️ Calendario cuadrado */
.Mes {
  background-color: #fff7dd;
  border: 1px solid #5D5F63;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto 1fr;
}



.TituloSemana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5em;
}

.TituloSemana span {
  text-align: center;
  font-weight: bold;
  color: #7f8c8d;
  font-size: 0.9em;
}

.Semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  gap: 4px;
}

.Semana span,
.Semana a span {
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 1.6;
  text-align: center;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

/* 🟡 Días disponibles */
.Semana a span {
  background-color: #fff7dd;
  color: #5D5F63;
  font-weight: bold;
  border: 1px solid #ccc;
}

.Semana a span:hover {
  background-color: #fcecae;
  transform: scale(1.05);
  cursor: pointer;
}

/* 🔘 Día seleccionado */
.Selected {
  background-color: #5D5F63 !important;
  color: #fff !important;
  font-weight: bold;
  border: 2px solid #FC0506;
}



/* 🕒 Selector de horario */
.ControlTurno a span {
  display: inline-block;
  min-width: 60px;
  text-align: center;
  margin: 4px;
  padding: 6px 10px;
  background-color: #fff7dd;
  border: 1px solid #5D5F63;
  border-radius: 4px;
  color: #5D5F63;
  font-size: 0.95em;
  transition: background-color 0.2s, transform 0.2s;
}

.ControlTurno a span:hover {
  background-color: #fcecae;
  transform: scale(1.05);
  cursor: pointer;
}

/* ✅ Horario seleccionado */
.SelectedHora {
  background-color: #5D5F63 !important;
  color: #fff !important;
  border: 2px solid #FC0506;
  transform: none !important;
}


/* 📱 Responsive: evitar que el calendario se agrande en móviles */
@media (max-width: 600px) {
  .Mes {
    max-width: 220px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}

