/*=============== STAYS PAGE (PREMIUM DARK) ===============*/

/* ===== Body & Container ===== */
body.stays-page {
  background-color: #1a1e26;
  color: #94a3b8;
}

/* ===== Hero Banner ===== */
.stays-hero {
  background: radial-gradient(circle at top right, rgba(0, 166, 153, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.05), transparent 40%),
    #1a1e26;
  padding: 10rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 768px) {
  .stays-hero {
    padding: 6.5rem 1.5rem 2.5rem;
  }
}

.stays-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.stays-hero__subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.stays-hero__badge-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stays-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 166, 153, 0.1);
  border: 1px solid rgba(0, 166, 153, 0.3);
  color: #5eead4;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Dashboard Container ===== */
.stays-dashboard {
  background-color: #1a1e26;
  padding: 4rem 0 2rem;
}

@media screen and (max-width: 1024px) {
  .stays-dashboard {
    padding: 1.5rem 0 2rem;
  }
}

.stays-dashboard__left,
.stays-dashboard__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stays-dashboard__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media screen and (min-width: 1024px) {
  .stays-dashboard__container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    column-gap: 4rem;
    row-gap: 2rem;
  }
}

/* On mobile/tablet, allow reordering */
@media screen and (max-width: 1023px) {
  .stays-dashboard__container {
    display: flex;
    flex-direction: column;
  }

  .stays-dashboard__left,
  .stays-dashboard__right {
    display: contents;
  }

  .stays-card--offers {
    order: 1;
  }

  .stays-card--online {
    order: 2;
  }

  .stays-card--reviews {
    order: 3;
  }

  .stays-card--form {
    order: 4;
  }
}

/* ===== Cards (Glass Layout) ===== */
.stays-card {
  background: rgba(18, 22, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  backdrop-filter: blur(10px);
  width: 100%;
  overflow: hidden;
}

@media screen and (max-width: 575px) {
  .stays-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (hover: hover) {
  .stays-card:hover {
    border-color: rgba(0, 166, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
  }
}

.stays-card:active {
  transform: scale(0.98);
  border-color: var(--first-color);
}

.stays-card__title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stays-card__title i {
  color: var(--first-color);
  font-size: 1.5rem;
}

/* ===== Rates Table ===== */
.stays-card__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.stays-card__table th {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 1rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stays-card__table td {
  color: #cbd5e1;
  font-size: 0.95rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stays-card__table th:last-child,
.stays-card__table td:last-child {
  text-align: center;
}

.stays-card__rate-link {
  color: #5eead4;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.stays-card__rate-link:hover {
  background: var(--first-color);
  color: #fff;
  border-color: var(--first-color);
}

.stays-card__note {
  color: #64748b;
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== Special Offers ===== */
.stays-card--special {
  position: relative;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(18, 22, 33, 0.7) 100%);
  border-color: rgba(251, 191, 36, 0.2);
  z-index: 1;
}


.stays-card--special::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(251, 191, 36, 0.4) 25%,
      rgba(245, 158, 11, 0.6) 50%,
      rgba(251, 191, 36, 0.4) 75%,
      transparent 100%);
  background-size: 400% 400%;
  animation: goldGlow 4s ease-in-out infinite;
  z-index: -1;
  filter: blur(3px);
}

.stays-card--special .stays-card__title i {
  color: #fbbf24;
}

.stays-card__offer {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 1rem;
}

.stays-card__offer-icon {
  color: #22c55e;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stays-card__offer-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stays-card__offer-text strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.stays-card__offer-text span {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ===== Platform Links ===== */
.stays-card__platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media screen and (max-width: 575px) {
  .stays-card__platforms {
    grid-template-columns: 1fr;
  }
}

.stays-platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.stays-platform-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stays-platform-arrow {
  font-size: 1.25rem;
  transform: rotate(45deg);
  color: var(--first-color);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .stays-platform:hover .stays-platform-arrow {
    transform: rotate(45deg) translate(2px, -2px);
  }

  .stays-platform:hover {
    transform: translateY(-3px);
    border-color: var(--first-color);
    background: rgba(255, 255, 255, 0.05);
  }
}

.stays-platform:active {
  background: rgba(0, 166, 153, 0.1);
  border-color: var(--first-color);
  transform: scale(0.96);
}

/* ===== Form Card ===== */
.stays-card--form {
  border-color: rgba(0, 166, 153, 0.2);
  background: linear-gradient(135deg, rgba(0, 166, 153, 0.03) 0%, rgba(18, 22, 33, 0.8) 100%);
}

.stays-form__preview {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding: 0.8rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stays-form__preview span {
  color: #fff;
  font-weight: 500;
}

.stays-form__min-nights {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 166, 153, 0.1);
  border-left: 3px solid var(--first-color);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.stays-form__min-nights i {
  color: var(--first-color);
  font-size: 1.1rem;
}

/* ===== Form Elements (Dark Mode) ===== */
.stays-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 575px) {
  .stays-form__row {
    grid-template-columns: 1fr;
  }
}

.stays-form__group label {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.stays-form__group input,
.stays-form__group select,
.stays-form__group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.stays-form__group input:focus,
.stays-form__group select:focus,
.stays-form__group textarea:focus {
  border-color: var(--first-color);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(0, 166, 153, 0.1);
}

.stays-form__group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.stays-form__submit {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 166, 153, 0.2);
}

.stays-form__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 166, 153, 0.3);
}

.stays-form__submit i {
  font-size: 1.25rem;
}

/* ===== Responsive ===== */
@media screen and (max-width: 575px) {
  .stays-hero__title {
    font-size: 2.25rem;
  }
}

@keyframes goldGlow {

  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }

  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}