/*
 * Pho Buddy Chatbot — Frontend Styles
 * Plugin: Pho Buddy by Hiraya Digital
 *
 * Color palette exposed as custom properties so the WP admin
 * color-picker fields can override them at runtime via inline style.
 */

/* ------------------------------------------------------------------ */
/*  0. Custom Properties                                              */
/* ------------------------------------------------------------------ */
:root {
  --phobuddy-primary: #1B7A3C;
  --phobuddy-primary-hover: #15612f;
  --phobuddy-secondary: #D4A950;
  --phobuddy-bg: #ffffff;
  --phobuddy-bg-light: #f5f7f5;
  --phobuddy-text: #313131;
  --phobuddy-text-muted: rgba(0, 0, 0, 0.45);
  --phobuddy-border: #e0e0e0;
  --phobuddy-radius: 16px;
  --phobuddy-panel-width: 380px;
  --phobuddy-panel-max-h: 600px;
  --phobuddy-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ------------------------------------------------------------------ */
/*  1. Widget Container                                               */
/* ------------------------------------------------------------------ */
.phobuddy-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--phobuddy-text);
  -webkit-font-smoothing: antialiased;
}

.phobuddy-widget *,
.phobuddy-widget *::before,
.phobuddy-widget *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------------ */
/*  2. Toggle Button                                                  */
/* ------------------------------------------------------------------ */
.phobuddy-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--phobuddy-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(27, 122, 60, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.2s ease;
  position: relative;
  outline: none;
}

.phobuddy-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(27, 122, 60, 0.6);
  background: var(--phobuddy-primary-hover);
}

.phobuddy-toggle:active {
  transform: scale(0.96);
}

.phobuddy-toggle svg,
.phobuddy-toggle img {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

/* Pulse ring */
.phobuddy-toggle-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--phobuddy-primary);
  animation: phobuddy-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes phobuddy-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Beta dot */
.phobuddy-beta-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e67e22;
  border: 2px solid #fff;
  pointer-events: none;
}

/* ------------------------------------------------------------------ */
/*  3. Chat Panel                                                     */
/* ------------------------------------------------------------------ */
.phobuddy-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: var(--phobuddy-panel-width);
  max-height: var(--phobuddy-panel-max-h);
  background: #ffffff;
  border-radius: var(--phobuddy-radius);
  box-shadow: var(--phobuddy-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--phobuddy-border);

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.phobuddy-panel--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ------------------------------------------------------------------ */
/*  4. Header                                                         */
/* ------------------------------------------------------------------ */
.phobuddy-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--phobuddy-bg);
  border-bottom: 1px solid var(--phobuddy-border);
  flex-shrink: 0;
}

.phobuddy-header-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--phobuddy-primary);
}

.phobuddy-header-info {
  flex: 1;
  min-width: 0;
}

.phobuddy-header-name {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phobuddy-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  display: inline-block;
  animation: phobuddy-status-pulse 2s ease-in-out infinite;
}

@keyframes phobuddy-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.phobuddy-beta-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--phobuddy-secondary);
  color: var(--phobuddy-bg);
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.6;
}

.phobuddy-header-status {
  font-size: 11px;
  color: var(--phobuddy-text-muted);
}

.phobuddy-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--phobuddy-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.phobuddy-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--phobuddy-text);
}

.phobuddy-close svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ */
/*  5. Mascot Stage                                                   */
/* ------------------------------------------------------------------ */
.phobuddy-mascot-stage {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #edf7f1 0%, #fdf9f0 100%);
  border-bottom: 1px solid var(--phobuddy-border);
}

.phobuddy-mascot-stage svg,
.phobuddy-mascot-stage img {
  max-height: 140px;
  width: auto;
  position: relative;
  z-index: 1;
}

.phobuddy-mascot-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------------ */
/*  6. Speech Bubble                                                  */
/* ------------------------------------------------------------------ */
.phobuddy-speech-bubble {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 85%;
  padding: 8px 14px;
  background: #ffffff;
  border: 1.5px solid var(--phobuddy-primary);
  border-radius: 12px;
  color: var(--phobuddy-text);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(27, 122, 60, 0.12);
  animation: phobuddy-fade-in 0.4s ease;
}

.phobuddy-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--phobuddy-primary);
}

@keyframes phobuddy-fade-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ------------------------------------------------------------------ */
/*  7. Messages Area                                                  */
/* ------------------------------------------------------------------ */
.phobuddy-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  min-height: 0;
  background: #ffffff;
}

/* Scrollbar */
.phobuddy-messages::-webkit-scrollbar {
  width: 4px;
}
.phobuddy-messages::-webkit-scrollbar-track {
  background: transparent;
}
.phobuddy-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

/* Message row */
.phobuddy-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  animation: phobuddy-msg-in 0.3s ease;
}

@keyframes phobuddy-msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phobuddy-msg--bot {
  align-self: flex-start;
}

.phobuddy-msg--user {
  align-self: flex-end;
}

/* Bubble */
.phobuddy-msg-bubble {
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  word-wrap: break-word;
}

.phobuddy-msg--bot .phobuddy-msg-bubble {
  background: #f0f7f3;
  border: 1px solid #d8eee2;
  border-radius: 4px 14px 14px 14px;
  color: var(--phobuddy-text);
}

.phobuddy-msg--user .phobuddy-msg-bubble {
  background: var(--phobuddy-primary);
  border-radius: 14px 4px 14px 14px;
  color: #fff !important;
}

/* Timestamp */
.phobuddy-msg-time {
  font-size: 10px;
  color: var(--phobuddy-text-muted);
  margin-top: 3px;
  padding: 0 4px;
}

.phobuddy-msg--user .phobuddy-msg-time {
  text-align: right;
}

/* ------------------------------------------------------------------ */
/*  8. Quick Replies                                                  */
/* ------------------------------------------------------------------ */
.phobuddy-quick-replies {
  display: flex;
  gap: 8px;
  padding: 8px 14px 4px;
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.phobuddy-quick-replies::-webkit-scrollbar {
  display: none;
}

.phobuddy-quick-reply {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--phobuddy-primary);
  background: transparent;
  color: var(--phobuddy-text);
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.phobuddy-quick-reply:hover,
.phobuddy-quick-reply:focus-visible {
  background: var(--phobuddy-primary);
  color: #fff;
  outline: none;
}

/* ------------------------------------------------------------------ */
/*  9. Lead Gate (overlay form)                                       */
/* ------------------------------------------------------------------ */
.phobuddy-gate {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
  animation: phobuddy-fade-in-simple 0.3s ease;
}

@keyframes phobuddy-fade-in-simple {
  from { opacity: 0; }
  to { opacity: 1; }
}

.phobuddy-gate-card {
  background: var(--phobuddy-bg-light);
  border: 1px solid var(--phobuddy-border);
  border-radius: 14px;
  padding: 24px 20px;
  width: 100%;
  max-width: 320px;
}

.phobuddy-gate-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.phobuddy-gate-card p {
  font-size: 12.5px;
  color: var(--phobuddy-text-muted);
  margin-bottom: 16px;
}

.phobuddy-gate-card input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--phobuddy-border);
  border-radius: 8px;
  background: var(--phobuddy-bg);
  color: var(--phobuddy-text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.phobuddy-gate-card input:focus {
  border-color: var(--phobuddy-primary);
}

.phobuddy-gate-card input::placeholder {
  color: var(--phobuddy-text-muted);
}

.phobuddy-gate-submit {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--phobuddy-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.phobuddy-gate-submit:hover {
  background: var(--phobuddy-primary-hover);
}

/* ------------------------------------------------------------------ */
/*  10. Input Area                                                    */
/* ------------------------------------------------------------------ */
.phobuddy-input-area {
  padding: 10px 14px 6px;
  border-top: 1px solid var(--phobuddy-border);
  flex-shrink: 0;
}

.phobuddy-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phobuddy-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--phobuddy-border);
  border-radius: 24px;
  background: var(--phobuddy-bg-light);
  color: var(--phobuddy-text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.phobuddy-input:focus {
  border-color: var(--phobuddy-primary);
}

.phobuddy-input::placeholder {
  color: var(--phobuddy-text-muted);
}

.phobuddy-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--phobuddy-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.phobuddy-send:hover {
  background: var(--phobuddy-primary-hover);
}

.phobuddy-send:active {
  transform: scale(0.92);
}

.phobuddy-send svg {
  width: 18px;
  height: 18px;
}

.phobuddy-powered {
  text-align: center;
  padding: 4px 0 6px;
  font-size: 10px;
  color: var(--phobuddy-text-muted);
}

.phobuddy-powered a {
  color: var(--phobuddy-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.phobuddy-powered a:hover {
  color: var(--phobuddy-secondary);
}

/* ------------------------------------------------------------------ */
/*  11. Payment Modal                                                 */
/* ------------------------------------------------------------------ */
.phobuddy-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: phobuddy-fade-in-simple 0.3s ease;
}

.phobuddy-payment-card {
  background: var(--phobuddy-bg-light);
  border: 1px solid var(--phobuddy-border);
  border-radius: 14px;
  padding: 28px 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--phobuddy-shadow);
}

.phobuddy-payment-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--phobuddy-text);
}

.phobuddy-payment-card .phobuddy-payment-subtitle {
  font-size: 13px;
  color: var(--phobuddy-text-muted);
  margin-bottom: 20px;
}

.phobuddy-payment-card .phobuddy-payment-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
  border-top: 1px solid var(--phobuddy-border);
  border-bottom: 1px solid var(--phobuddy-border);
  margin-bottom: 18px;
}

/* Stripe element container */
.phobuddy-stripe-element {
  padding: 12px;
  border: 1px solid var(--phobuddy-border);
  border-radius: 8px;
  background: var(--phobuddy-bg);
  margin-bottom: 16px;
}

.phobuddy-payment-submit {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--phobuddy-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.phobuddy-payment-submit:hover {
  background: var(--phobuddy-primary-hover);
}

.phobuddy-payment-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.phobuddy-payment-cancel {
  display: block;
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  border: none;
  background: transparent;
  color: var(--phobuddy-text-muted);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}

.phobuddy-payment-cancel:hover {
  color: var(--phobuddy-text);
}

/* ------------------------------------------------------------------ */
/*  12. Menu Cards                                                    */
/* ------------------------------------------------------------------ */
.phobuddy-menu-card {
  background: var(--phobuddy-bg-light);
  border: 1px solid var(--phobuddy-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 6px;
}

.phobuddy-menu-card-header {
  padding: 10px 14px;
  background: rgba(27, 122, 60, 0.12);
  border-bottom: 1px solid var(--phobuddy-border);
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phobuddy-menu-section {
  padding: 8px 14px;
}

.phobuddy-menu-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--phobuddy-secondary);
  padding: 6px 0 4px;
}

.phobuddy-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.phobuddy-menu-item:last-child {
  border-bottom: none;
}

.phobuddy-menu-item-name {
  flex: 1;
  padding-right: 8px;
}

.phobuddy-menu-item-price {
  font-weight: 600;
  color: var(--phobuddy-secondary);
  white-space: nowrap;
}

.phobuddy-menu-card-footer {
  padding: 8px 14px;
  border-top: 1px solid var(--phobuddy-border);
  text-align: center;
}

.phobuddy-menu-card-footer button {
  padding: 6px 16px;
  border: 1px solid var(--phobuddy-primary);
  border-radius: 20px;
  background: transparent;
  color: var(--phobuddy-text);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.phobuddy-menu-card-footer button:hover {
  background: var(--phobuddy-primary);
  color: #fff;
}

/* ------------------------------------------------------------------ */
/*  13. Typing Indicator                                              */
/* ------------------------------------------------------------------ */
.phobuddy-typing,
.pho-buddy-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: var(--phobuddy-bg-light);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
}

.phobuddy-typing-dot,
.pho-buddy-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phobuddy-text-muted);
  animation: phobuddy-bounce 1.2s ease-in-out infinite;
}

.phobuddy-typing-dot:nth-child(2),
.pho-buddy-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.phobuddy-typing-dot:nth-child(3),
.pho-buddy-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes phobuddy-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
}

/* ------------------------------------------------------------------ */
/*  14. Responsive — Mobile Full-Screen                               */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .phobuddy-widget {
    bottom: 80px;
    right: 14px;
  }

  .phobuddy-panel {
    position: fixed;
    inset: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    transform: translateY(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }

  .phobuddy-panel--open {
    transform: translateY(0);
    visibility: visible;
  }
}

/* ------------------------------------------------------------------ */
/*  15. Utility / Global Animations                                   */
/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/*  Formatted Menu in Chat Bubble                                     */
/* ------------------------------------------------------------------ */
.pho-buddy-bubble ul {
  list-style: none;
  padding: 4px 0;
  margin: 6px 0;
}

.pho-buddy-bubble ul li {
  padding: 4px 0 4px 12px;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
}

.pho-buddy-bubble ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--phobuddy-primary);
  font-weight: 700;
}

.pho-buddy-bubble .menu-price {
  color: var(--phobuddy-secondary);
  font-weight: 600;
}

.pho-buddy-bubble .menu-tag {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(27, 122, 60, 0.1);
  color: var(--phobuddy-primary);
  margin-left: 4px;
  font-weight: 600;
}

.pho-buddy-bubble .menu-category {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--phobuddy-secondary);
  margin: 10px 0 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--phobuddy-border);
}

.phobuddy-hidden {
  display: none !important;
}

/* Subtle fade used for various elements */
.phobuddy-fade-enter {
  animation: phobuddy-fade-in-simple 0.3s ease forwards;
}

/* Focus-visible for keyboard accessibility */
.phobuddy-widget *:focus-visible {
  outline: 2px solid var(--phobuddy-secondary);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/*  16. Header Order Online Button                                     */
/* ------------------------------------------------------------------ */
.phobuddy-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--phobuddy-primary);
  background: transparent;
  color: var(--phobuddy-primary);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.phobuddy-order-btn:hover {
  background: var(--phobuddy-primary);
  color: #fff;
}

.phobuddy-order-btn svg {
  width: 13px;
  height: 13px;
}

/* ------------------------------------------------------------------ */
/*  17. Catering Date Scheduler                                        */
/* ------------------------------------------------------------------ */
.phobuddy-date-scheduler {
  background: #f9fdf9;
  border: 1.5px solid #c8e6d4;
  border-radius: 14px;
  padding: 16px;
  margin: 6px 0;
  align-self: flex-start;
  width: 100%;
  max-width: 320px;
}

.phobuddy-date-scheduler__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--phobuddy-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phobuddy-date-scheduler__row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.phobuddy-date-scheduler__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phobuddy-date-scheduler__label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--phobuddy-text-muted);
}

.phobuddy-date-scheduler__input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--phobuddy-border);
  border-radius: 8px;
  background: #fff;
  color: var(--phobuddy-text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.phobuddy-date-scheduler__input:focus {
  border-color: var(--phobuddy-primary);
}

.phobuddy-date-scheduler__hint {
  font-size: 10.5px;
  color: var(--phobuddy-text-muted);
  margin-bottom: 12px;
}

.phobuddy-date-scheduler__submit {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: var(--phobuddy-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.phobuddy-date-scheduler__submit:hover {
  background: var(--phobuddy-primary-hover);
}

.phobuddy-date-scheduler__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Input area light bg */
.phobuddy-input-area {
  background: #ffffff;
}

/* Header bg explicit */
.phobuddy-header {
  background: #ffffff !important;
}
