/* ==========================================================================
   StayAura Modern Luxury Guest Portal & Web Check-In Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

.wk-checkin-page-wrapper {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  max-width: 1040px;
  margin: 30px auto 80px auto;
  padding: 0 15px;
}

/* ==========================================================================
   1. Modern Hero Banner
   ========================================================================== */
.wk-portal-hero {
  background: linear-gradient(135deg, #1f1107 0%, #3a1d0b 50%, #582b0e 100%);
  border-radius: 20px;
  padding: 36px 36px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(31, 17, 7, 0.25);
  margin-bottom: 35px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.wk-portal-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
}

.wk-portal-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 116, 27, 0.15) 0%, rgba(181, 116, 27, 0) 70%);
  pointer-events: none;
}

.wk-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.wk-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fef08a;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.wk-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wk-hero-back-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.wk-hero-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.wk-hero-desc {
  font-size: 14.5px;
  color: #f1e5d8;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.wk-hero-order-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}

.wk-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #f8fafc;
}

.wk-meta-pill strong {
  color: #fef08a;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   2. Booking Selection Cards (List View)
   ========================================================================== */
.wk-booking-card-modern {
  background: #ffffff;
  border: 1.5px solid #ebdccf;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(35, 18, 8, 0.05);
  margin-bottom: 22px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wk-booking-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(35, 18, 8, 0.1);
  border-color: #d4af37;
}

.wk-booking-card-inner {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.wk-booking-ref-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.wk-booking-ref-text {
  font-size: 18px;
  font-weight: 800;
  color: #2c1a0e;
}

.wk-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wk-status-confirmed {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.wk-booking-date-row {
  font-size: 13.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.wk-booking-rooms-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-room-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wk-btn-gold {
  background: linear-gradient(135deg, #b5741b 0%, #92580e 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(181, 116, 27, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wk-btn-gold:hover {
  background: linear-gradient(135deg, #c78322 0%, #a26413 100%);
  box-shadow: 0 6px 20px rgba(181, 116, 27, 0.45);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.wk-btn-outline {
  background: #ffffff;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.wk-btn-outline:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #0f172a !important;
}

/* ==========================================================================
   3. Guest Form Cards (Check-In Form)
   ========================================================================== */
.wk-guest-card-modern {
  background: #ffffff;
  border: 1.5px solid #ebdccf;
  border-radius: 18px;
  box-shadow: 0 6px 25px rgba(35, 18, 8, 0.05);
  margin-bottom: 28px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wk-guest-card-modern:hover {
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(35, 18, 8, 0.09);
}

.wk-guest-card-header {
  background: #fcf9f5;
  border-bottom: 1.2px solid #ebdccf;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wk-guest-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wk-guest-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c1a0e 0%, #4a2810 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(44, 26, 14, 0.25);
  flex-shrink: 0;
}

.wk-guest-title-wrap h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #2c1a0e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-guest-type-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wk-type-primary {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.wk-type-adult {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.wk-type-child {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.wk-guest-room-info {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.wk-guest-card-body {
  padding: 24px 26px;
}

/* Override Uniform.js Wrappers */
.wk-checkin-page-wrapper .selector,
.wk-checkin-page-wrapper .uploader {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.wk-checkin-page-wrapper .selector span,
.wk-checkin-page-wrapper .uploader span.filename,
.wk-checkin-page-wrapper .uploader span.action {
  display: none !important;
}

.wk-checkin-page-wrapper .selector select {
  position: static !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 44px !important;
}

/* Modern Form Controls */
.wk-form-group {
  margin-bottom: 18px;
}

.wk-form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.wk-form-group label .text-danger {
  color: #dc2626;
}

.wk-modern-input,
.wk-form-group .form-control {
  height: 44px !important;
  border-radius: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 8px 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wk-modern-input:focus,
.wk-form-group .form-control:focus {
  border-color: #b5741b !important;
  box-shadow: 0 0 0 4px rgba(181, 116, 27, 0.14) !important;
  outline: none !important;
  background: #ffffff !important;
}

/* Modern Custom Select with Arrow */
.wk-modern-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 38px !important;
  cursor: pointer !important;
  line-height: 26px !important;
}

/* Document & Upload Subsection */
.wk-doc-section-box {
  background: linear-gradient(180deg, #fdfbf7 0%, #f9f5ee 100%);
  border: 1.5px dashed #ebdccf;
  border-radius: 14px;
  padding: 18px 20px 6px 20px;
  margin: 16px 0 20px 0;
}

.wk-doc-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Custom File Upload Component */
.wk-upload-trigger-box {
  position: relative;
  width: 100%;
  height: 44px;
}

.wk-hidden-file-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wk-upload-btn-styled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.wk-upload-trigger-box:hover .wk-upload-btn-styled {
  border-color: #b5741b;
  background: #fdfaf3;
  color: #b5741b;
}

.wk-upload-btn-styled i {
  font-size: 15px;
  color: #b5741b;
  flex-shrink: 0;
}

.wk-upload-btn-styled.wk-photo-btn i {
  color: #16a34a;
}

.wk-file-preview-pill {
  font-size: 11.5px;
  color: #15803d;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Floating Actions Bar */
.wk-floating-actions-bar {
  background: #ffffff;
  border: 1.5px solid #ebdccf;
  border-radius: 16px;
  padding: 18px 28px;
  box-shadow: 0 8px 30px rgba(35, 18, 8, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.wk-actions-note {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Success Banner */
.wk-alert-success-modern {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px 20px;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(22, 101, 52, 0.08);
}
