/* Click Pattaya Custom Styles */
:root {
  /* Thai-inspired color palette */
  --background: 220 15% 97%;
  --foreground: 220 25% 15%;

  --card: 0 0% 100%;
  --card-foreground: 220 25% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 220 25% 15%;

  /* Ocean blue primary with golden accents */
  --primary: 213 47% 25%;
  --primary-foreground: 0 0% 98%;
  --primary-glow: 213 65% 35%;

  --secondary: 45 93% 68%;
  --secondary-foreground: 220 25% 15%;

  --muted: 220 15% 95%;
  --muted-foreground: 220 15% 45%;

  --accent: 168 65% 45%;
  --accent-foreground: 0 0% 98%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;

  --border: 220 15% 90%;
  --input: 220 15% 94%;
  --ring: 213 47% 25%;

  /* Thai gold variant */
  --gold: 45 93% 58%;
  --gold-foreground: 220 25% 15%;

  /* Tropical variants */
  --tropical: 168 65% 45%;
  --tropical-foreground: 0 0% 98%;

  /* Thai coral - main brand accent */
  --thai-coral: 14 83% 56%;
  --thai-coral-foreground: 0 0% 98%;
  --thai-gold: 45 93% 58%;
  --thai-gold-foreground: 220 25% 15%;

  /* Modern gradients */
  --gradient-hero: linear-gradient(135deg, hsl(213 47% 25%), hsl(213 65% 35%), hsl(168 65% 45%));
  --gradient-card: linear-gradient(145deg, hsl(0 0% 100%), hsl(220 15% 98%));
  --gradient-feature: linear-gradient(135deg, hsl(45 93% 68%), hsl(45 93% 78%));

  /* Shadows */
  --shadow-soft: 0 4px 20px hsla(213, 47%, 25%, 0.1);
  --shadow-glow: 0 8px 32px hsla(213, 65%, 35%, 0.2);
  --shadow-gold: 0 4px 20px hsla(45, 93%, 68%, 0.3);

  /* Animation */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --radius: 1rem;
}

* {
  border-color: hsl(var(--border));
}

html {
  font-size: 15px;
}

.container {
  width: 100%;
  max-width: 64rem !important;
}

.max-w-7xl,
.max-w-6xl {
  max-width: 64rem !important;
}

main.pt-20 {
  padding-top: 4.5rem !important;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1.5;
}

/* Utility classes */
.bg-background {
  background-color: hsl(var(--background));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.bg-card {
  background-color: hsl(var(--card));
}

.text-card-foreground {
  color: hsl(var(--card-foreground));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
}

.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}

.bg-accent {
  background-color: hsl(var(--accent));
}

.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}

.hover\:bg-accent:hover {
  background-color: hsl(168, 65%, 45%) !important;
}

.hover\:text-accent-foreground:hover {
  color: hsl(0, 0%, 98%) !important;
}

.bg-destructive {
  background-color: hsl(var(--destructive));
}

.text-destructive-foreground {
  color: hsl(var(--destructive-foreground));
}

.border-border {
  border-color: hsl(var(--border));
}

.bg-gold {
  background-color: hsl(var(--gold));
}

.text-gold-foreground {
  color: hsl(var(--gold-foreground));
}

.bg-tropical {
  background-color: hsl(var(--tropical));
}

.text-tropical-foreground {
  color: hsl(var(--tropical-foreground));
}

.text-thai-coral {
  color: hsl(var(--thai-coral));
}

.bg-thai-coral {
  background-color: hsl(var(--thai-coral));
}

.text-thai-gold {
  color: hsl(var(--thai-gold));
}

.bg-thai-gold {
  background-color: hsl(var(--thai-gold));
}

.bg-gradient-hero {
  background-image: var(--gradient-hero);
}

.bg-gradient-card {
  background-image: var(--gradient-card);
}

.bg-gradient-feature {
  background-image: var(--gradient-feature);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

/* Opacity utilities - using proper class names */
.bg-card-95 {
  background-color: hsla(0, 0%, 100%, 0.95);
}

.text-white-90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-primary-foreground-80 {
  color: hsla(0, 0%, 98%, 0.8);
}

.text-primary-foreground-60 {
  color: hsla(0, 0%, 98%, 0.6);
}

.border-primary-foreground-20 {
  border-color: hsla(0, 0%, 98%, 0.2);
}

.border-primary-foreground-10 {
  border-color: hsla(0, 0%, 98%, 0.1);
}

.bg-primary-foreground-10 {
  background-color: hsla(0, 0%, 98%, 0.1);
}

.hover-bg-thai-coral-90:hover {
  background-color: hsla(14, 83%, 56%, 0.9);
}

.hover-bg-primary-90:hover {
  background-color: hsla(213, 47%, 25%, 0.9);
}

.hover-text-thai-coral-80:hover {
  color: hsla(14, 83%, 56%, 0.8);
}

.hover-text-gold:hover {
  color: hsl(var(--gold));
}

/* Fix for Tailwind CDN opacity syntax */
.bg-card\/95 {
  background-color: hsla(0, 0%, 100%, 0.95);
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-primary-foreground\/80 {
  color: hsla(0, 0%, 98%, 0.8);
}

.text-primary-foreground\/60 {
  color: hsla(0, 0%, 98%, 0.6);
}

.border-primary-foreground\/20 {
  border-color: hsla(0, 0%, 98%, 0.2);
}

.border-primary-foreground\/10 {
  border-color: hsla(0, 0%, 98%, 0.1);
}

.bg-primary-foreground\/10 {
  background-color: hsla(0, 0%, 98%, 0.1);
}

.hover\:bg-thai-coral\/90:hover {
  background-color: hsla(14, 83%, 56%, 0.9);
}

.hover\:bg-primary\/90:hover {
  background-color: hsla(213, 47%, 25%, 0.9);
}

.hover\:text-thai-coral\/80:hover {
  color: hsla(14, 83%, 56%, 0.8);
}

.hover\:text-gold:hover {
  color: hsl(var(--gold));
}

/* Line clamp utility */
.line-clamp-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stay date range picker */
.drp,
[data-date-range] {
  position: relative;
}
.drp-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.drp-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: hsl(213, 47%, 25%);
}
.drp-placeholder {
  color: hsl(220, 15%, 45%);
}
.drp-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 1000;
  min-width: 17.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid hsl(220, 15%, 90%);
  border-radius: 0.85rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}
.drp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.drp-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.15rem;
  line-height: 1;
}
.drp-nav:hover {
  background: hsl(220, 15%, 95%);
}
.drp-hint {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(220, 15%, 45%);
  text-align: center;
  flex: 1;
}
.drp-board-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.drp-month-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
  color: hsl(213, 47%, 25%);
}
.drp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.drp-dow {
  font-size: 0.65rem;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
  padding: 0.15rem 0;
}
.drp-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  font-size: 0.8rem;
  color: hsl(220, 25%, 15%);
}
.drp-day:not(:disabled):not(.empty) {
  cursor: pointer;
}
.drp-day:not(:disabled):not(.empty):hover {
  background: hsl(220, 15%, 92%);
}
.drp-day.empty {
  visibility: hidden;
}
.drp-day.past,
.drp-day:disabled {
  color: #c4c4c4;
  cursor: default;
}
.drp-day.today:not(.pick-start):not(.pick-end) {
  box-shadow: inset 0 0 0 1.5px hsl(213, 47%, 25%);
  font-weight: 700;
}
.drp-day.busy {
  background: hsl(14, 83%, 56%);
  color: #fff;
}
.drp-day.in-range:not(.pick-start):not(.pick-end):not(.busy) {
  background: hsl(14, 83%, 94%);
}
.drp-day.pick-start,
.drp-day.pick-end {
  background: hsl(213, 47%, 25%);
  color: #fff;
}
.drp-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.drp-clear {
  font-size: 0.75rem;
  color: hsl(14, 83%, 56%);
  background: none;
  border: 0;
  padding: 0.25rem 0;
  cursor: pointer;
}
.drp-clear:hover {
  text-decoration: underline;
}
@media (max-width: 639px) {
  .drp-panel {
    right: 0;
    min-width: 0;
  }
  .drp-board-2 {
    grid-template-columns: 1fr;
  }
}

.booking-top {
  overflow: visible;
}
.booking-step1-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}
.booking-step1-action {
  padding-bottom: 0;
}
@media (min-width: 640px) {
  .booking-step1-fields {
    grid-template-columns: minmax(0, 1fr) 6.25rem minmax(9.5rem, auto);
  }
  .booking-step1-action button {
    min-height: 2.65rem;
  }
}
