* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* Collapsible Info Card */
.info-card {
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.info-card-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  transition: background 0.2s;
}

.info-card-toggle:hover {
  background: #f9fafb;
}

.info-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.info-arrow.open {
  transform: rotate(180deg);
}

.info-card-body {
  padding: 0 1.2rem 1.2rem;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.7;
}

.info-card-body h3 {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.info-card-body h4 {
  font-size: 0.95rem;
  color: #4b5563;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.info-card-body ul,
.info-card-body ol {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.info-card-body li {
  margin-bottom: 0.2rem;
}

.info-closing {
  margin-top: 1rem;
  font-weight: 600;
  color: #6366f1;
}

/* Member / Radio Selection */
.member-select {
  margin-bottom: 0.5rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.radio-label:hover {
  border-color: #a5b4fc;
}

.radio-label input[type="radio"] {
  accent-color: #6366f1;
  width: 16px;
  height: 16px;
}

.radio-label input[type="radio"]:checked + .radio-text {
  color: #6366f1;
  font-weight: 600;
}

.radio-label:has(input:checked) {
  border-color: #6366f1;
  background: #f0f0ff;
}

/* Payment Info in Success Modal */
.payment-info {
  text-align: left;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.payment-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.payment-desc {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.payment-tiers {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.5rem;
}

.payment-tiers li {
  padding: 0.2rem 0;
}

.payment-note {
  font-size: 0.8rem;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.payment-instruction {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.qr-codes {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.qr-item {
  text-align: center;
  flex: 1;
  max-width: 160px;
}

.qr-img {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.qr-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-top: 0.35rem;
}

.payment-footer {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

/* Admin booking member badge */
.member-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.member-badge.is-member {
  background: #d1fae5;
  color: #065f46;
}

.member-badge.is-nonmember {
  background: #fee2e2;
  color: #991b1b;
}

/* Timezone Selector */
.timezone-selector {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}

.tz-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tz-icon {
  font-size: 1.3rem;
}

.timezone-selector label {
  font-weight: 700;
  font-size: 1rem;
  color: #92400e;
}

.timezone-selector select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: #1a1a2e;
  cursor: pointer;
}

.timezone-selector select:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}

.tz-current {
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 500;
  margin: 0;
}

/* Slots */
#slots-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.slot-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.slot-card:hover {
  border-color: #6366f1;
  box-shadow: 0 2px 8px rgba(99,102,241,0.15);
  transform: translateY(-1px);
}

.slot-card .slot-date {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.slot-card .slot-time {
  color: #6366f1;
  font-weight: 600;
  font-size: 0.95rem;
}

.slot-card .slot-duration {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.loading {
  text-align: center;
  color: #9ca3af;
  padding: 2rem;
}

.no-slots {
  text-align: center;
  color: #9ca3af;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  line-height: 1;
}

.modal-close:hover {
  color: #1a1a2e;
}

.modal-time {
  background: #f0f0ff;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: #6366f1;
  margin-bottom: 1.5rem;
}

/* Form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #374151;
}

.required {
  color: #ef4444;
}

.optional {
  color: #9ca3af;
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #ef4444;
}

.error-msg {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
  min-height: 1.2em;
}

.btn-primary {
  background: #6366f1;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #4f46e5;
}

.btn-primary:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-danger {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-danger:hover {
  background: #fecaca;
}

/* Admin add-time controls */
.time-slot-row {
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.btn-add-time {
  background: none;
  border: 1px dashed #a5b4fc;
  color: #6366f1;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}

.btn-add-time:hover {
  background: #f0f0ff;
}

.btn-remove-time {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.btn-remove-time:hover {
  background: #fecaca;
}

/* Success */
.success-content {
  text-align: center;
}

.success-content h2 {
  color: #059669;
  margin-bottom: 1rem;
}

.success-content p {
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.success-content .btn-primary {
  margin-top: 1rem;
}

/* Hidden admin trigger */
.admin-trigger {
  position: fixed;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #f5f7fa;
  border: none;
  cursor: default;
  opacity: 0;
  z-index: 100;
}

/* Admin Panel */
.admin-panel {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.admin-header h2 {
  font-size: 1.3rem;
}

.admin-tz-note {
  width: 100%;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #93c5fd;
  order: 3;
}

.admin-section {
  margin-bottom: 2rem;
}

.admin-section h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.admin-tz-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e40af;
  background: #dbeafe;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.slot-tz-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e40af;
  background: #dbeafe;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.add-slot-form {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.admin-slots-list,
.admin-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-slot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.admin-slot-item .slot-info {
  font-weight: 500;
}

.admin-slot-item .slot-status {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
}

.booking-item {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.booking-item .booking-time {
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.booking-item .booking-detail {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.25rem;
}

.booking-item .booking-note {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Cancel booking */
.btn-cancel-booking {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  padding: 0.4rem 0.85rem;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel-booking:hover {
  background: #fecaca;
}

.cancel-hint {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  font-style: italic;
}

.cancel-done-msg {
  text-align: center;
  color: #059669;
  font-weight: 600;
  padding: 1rem;
}

/* Cancel Confirm Modal */
.cancel-confirm-content {
  max-width: 380px;
  text-align: center;
}

.cancel-confirm-content h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cancel-info {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.cancel-warn {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.cancel-actions {
  display: flex;
  gap: 0.75rem;
}

.cancel-actions .btn-secondary {
  flex: 1;
  padding: 0.6rem;
  font-weight: 600;
}

.btn-danger-full {
  flex: 1;
  padding: 0.6rem;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-danger-full:hover {
  background: #b91c1c;
}

.btn-danger-full:disabled {
  background: #fca5a5;
  cursor: not-allowed;
}

/* Admin buffer slot styles */
.slot-status-buffer {
  font-size: 0.8rem;
  color: #92400e;
  font-weight: 600;
  margin-left: 4px;
}

.admin-slot-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.btn-release-buffer {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-release-buffer:hover {
  background: #a7f3d0;
}

.btn-set-buffer {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-set-buffer:hover {
  background: #fde68a;
}

/* Admin booking actions */
.booking-actions {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-gen-email {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #a5b4fc;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-gen-email:hover {
  background: #c7d2fe;
}

.sent-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* Email Modal */
.email-modal-content {
  max-width: 560px;
}

.email-modal-content h2 {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.email-field {
  margin-bottom: 1rem;
}

.email-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.email-field-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.email-field-value {
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #f9fafb;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.email-field-row .email-field-value {
  flex: 1;
}

.email-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: #1a1a2e;
  background: #f9fafb;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.6;
  max-height: 300px;
  overflow-y: auto;
}

.btn-copy {
  padding: 0.35rem 0.65rem;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-copy:hover {
  background: #e5e7eb;
}

.email-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-copy-main {
  flex: 1;
  padding: 0.6rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-copy-main:hover {
  background: #4f46e5;
}

.btn-mark-sent {
  flex: 1;
  padding: 0.6rem;
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-mark-sent:hover {
  background: #047857;
}

.btn-mark-sent:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-sent-done {
  background: #d1fae5;
  color: #065f46;
}

.btn-sent-done:hover {
  background: #d1fae5;
}

.email-copy-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.5rem;
  min-height: 1.3em;
}

.empty-msg {
  text-align: center;
  color: #9ca3af;
  padding: 1.5rem;
}

/* Top-right Lookup Button */
.lookup-top-bar {
  text-align: right;
  margin-bottom: 0.5rem;
}

.btn-lookup-top {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  background: #fff;
  color: #6366f1;
  border: 2px solid #6366f1;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}

.btn-lookup-top:hover {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.25);
}

/* Lookup Modal */
.lookup-content {
  max-width: 500px;
}

.lookup-content h2 {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

/* Lookup Results */
.lookup-results-header {
  font-size: 0.95rem;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.lookup-booking-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.lookup-booking-time {
  font-weight: 700;
  font-size: 1rem;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.lookup-booking-tz {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.lookup-booking-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.status-member-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-nonmember-pending {
  background: #fee2e2;
  color: #991b1b;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.lookup-booking-detail {
  font-size: 0.88rem;
  color: #374151;
  margin-bottom: 0.2rem;
}

.lookup-booking-note {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid #e5e7eb;
}

.btn-view-payment {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  padding: 0.4rem 0.85rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-view-payment:hover {
  background: #fde68a;
}

.lookup-empty {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.lookup-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lookup-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.lookup-empty-hint {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 1.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.contact-section h3 {
  font-size: 1.15rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.contact-desc {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.contact-btn-imessage {
  background: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #81c784;
}

.contact-btn-imessage:hover {
  background: #c8e6c9;
  border-color: #66bb6a;
}

.contact-btn-email {
  background: #e3f2fd;
  color: #1565c0;
  border: 2px solid #64b5f6;
}

.contact-btn-email:hover {
  background: #bbdefb;
  border-color: #42a5f5;
}

.contact-btn-discord {
  background: #ede7f6;
  color: #5b21b6;
  border: 2px solid #b39ddb;
}

.contact-btn-discord:hover {
  background: #d1c4e9;
  border-color: #9575cd;
}

.contact-email {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
  user-select: all;
}

.contact-warning {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.contact-discord-text {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

/* Admin footer logout button */
.admin-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
}

/* Admin cancel booking button */
.btn-admin-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.btn-admin-cancel:hover {
  background: #fecaca;
}

/* Past slot faded */
.admin-slot-item.slot-past {
  opacity: 0.45;
  background: #f3f4f6;
}

/* Booking time confirmation highlight */
.booking-time-confirm {
  margin-bottom: 1.5rem;
}

.booking-time-hint {
  text-align: center;
  font-size: 0.88rem;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.booking-time-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: center;
}

.booking-time-highlight .btc-tz {
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.booking-time-highlight .btc-datetime {
  font-size: 1.1rem;
  color: #1a1a2e;
  font-weight: 700;
}

/* Cancelled booking in admin */
.booking-item.booking-cancelled {
  opacity: 0.5;
  background: #f3f4f6;
}

.status-cancelled {
  background: #f3f4f6;
  color: #6b7280;
}

/* Past bookings collapsible */
.past-bookings-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: #6b7280;
  transition: background 0.2s;
}

.past-bookings-toggle:hover {
  background: #e5e7eb;
}

#admin-past-bookings {
  margin-top: 0.5rem;
}

/* Delete booking record button */
.btn-delete-record {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.btn-delete-record:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Booking actions right-align for delete */
.booking-actions-right {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  .timezone-selector {
    flex-direction: column;
    align-items: stretch;
  }

  .slots-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .btn-lookup-top {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .email-modal-content {
    max-width: 100%;
  }

  .email-actions {
    flex-direction: column;
  }

  .email-field-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-content {
    max-width: 100%;
  }

  .contact-section {
    padding: 1.25rem 1rem 1.5rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 280px;
  }
}
