/* ====================== Variables Globales ====================== */
:root {
  --handle-color: #85E7CA;
  --ripple-color: #85E7CA;
  --active-track-color: #85E7CA;
  --calendar-date-selected-state-text-color: black;
  --calendar-date-selected-state-background-color: #85E7CA;
  --calendar-container-text-color: #85E7CA;
  --calendar-date-today-selected-state-outline-color: #85E7CA;
  --calendar-date-today-outline-color: #85E7CA;
  --calendar-body-label-text-color: #fff;
  --calendar-period-button-text-color: #fff;
  --calendar-header-text-color: #85E7CA;
  --calendar-date-text-color: #fff;
  --calendar-date-in-range-state-background-color: blue;
  --border-color: #475169;
  --box-hover: #27272e;
  --text-color: #000;
}

/* ====================== Reset & Tipografía ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #fff;
  min-height: 100dvh;
  width: 100dvw;
}

h1 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin: 2px 0;
}

h1 > span {
  font-weight: 700;
}

h3 {
  font-size: 12px;
  font-weight: 400;
  color: #000;
}

p {
  color: var(--text-color);
  font-size: 14px;
  margin: 2px 0;
}

/* ====================== Inputs & Botones ====================== */
input {
  border-radius: 2px;
  border: 1px solid #B8C1D8;
  max-width: 100%;
  min-width: 155.5px;
  width: 100%;
  height: 32px;
  padding: 0;
  color: #000;
  font-size: 12px;
}

button {
  background-color: #000;
  color: #fff;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 100px;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

/* ====================== Loading Screen ====================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.loading-screen.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ====================== Mensaje: No hay resultados ====================== */
.no-results {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  display: none;
}

.no-results.active {
  display: block;
}

.no-results h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.no-results p {
  font-size: 16px;
  color: var(--text-color);
  opacity: 0.8;
}

/* ====================== Sección Home ====================== */
.home-content {
  width: 100%;
  height: 400px;
}
