/* ==========================================================================
   STREET BARBEARIA - NEXT GO AGENDA TWIN REPLICA STYLES (BRIGHT GREEN EXACT)
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bright-green: #00c853; /* Exact Bright Neon/Emerald Green from Photo */
  --bright-green-hover: #00b048;
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-modal: 0 10px 35px rgba(0, 0, 0, 0.4);
  --radius-md: 8px;
}

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

body {
  background-color: var(--bg-page);
  color: #1f2937;
  font-family: var(--font-family-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HD Image Rendering & Vivid Color Enhancement */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(106%) saturate(112%);
}

.agenda-wrapper {
  width: 100%;
  max-width: 480px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}

/* Agenda Logo Header Box (Exact Image 1 Replica - STREET BARBEARIA LOGO) */
.agenda-logo-header {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.agenda-logo-box {
  display: block;
  background: #ffffff;
  padding: 0;
  width: 100%;
  max-width: 320px;
}

.agenda-logo-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Bright Green Service Buttons List (EXACT MATCH TO PHOTOS 2 & 3) */
.agenda-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.green-service-btn {
  background-color: var(--bright-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 200, 83, 0.15);
}

.green-service-btn:hover {
  background-color: var(--bright-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.25);
}

.green-service-btn:active {
  transform: translateY(0);
}

.service-title-text {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #ffffff;
  padding-right: 12px;
  text-transform: none;
}

.service-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-meta-right .chevron {
  font-size: 0.95rem;
}

/* Modal Overlay & Container */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal-backdrop.hidden {
  display: none !important;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-modal);
  color: #1f2937;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #111827;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.service-selected-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  border-radius: 8px;
}

.banner-service-name {
  font-weight: 700;
  color: #15803d;
  font-size: 1rem;
}

.banner-service-price {
  font-size: 0.88rem;
  color: #166534;
  margin-top: 2px;
}

/* Form Fields */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.hidden {
  display: none !important;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--bright-green);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.15);
}

/* PIX Antecipado Container */
.pix-vitin-container {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.pix-vitin-container.hidden {
  display: none !important;
}

.pix-badge {
  display: inline-block;
  background: var(--bright-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.pix-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}

.pix-qr-wrapper {
  margin-bottom: 12px;
}

.pix-qr-image {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.pix-key-box {
  text-align: left;
}

.pix-key-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;

  margin-bottom: 4px;
  display: block;
}

.pix-input-group {
  display: flex;
  gap: 6px;
}

.pix-key-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.78rem;
  background: #ffffff;
  color: #334155;
}

.btn-copy-pix {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-copy-pix:hover {
  background: #1e293b;
}

/* Submit Button */
.btn-submit-booking {
  width: 100%;
  background: var(--bright-green);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.btn-submit-booking:hover {
  background: var(--bright-green-hover);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.toast.hidden {
  display: none !important;
}
