/* ==========================================================================
   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: 'Poppins', -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;
}

/* Agenda Wrapper / Container */
.agenda-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #ffffff;
  padding: 16px 16px 60px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Top Back Navigation */
.top-nav {
  margin-bottom: 12px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f3f4f6;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Agenda Logo Header Box (Exact Image Replica - STREET BARBEARIA LOGO) */
.agenda-logo-header {
  text-align: center;
  margin-top: 10px;
  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: 380px;
}

.agenda-logo-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

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

.green-service-btn {
  background-color: var(--bright-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  text-decoration: none;
}

.green-service-btn:hover {
  background-color: var(--bright-green-hover);
  transform: translateY(-1px);
}

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

.service-title-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
  padding-right: 12px;
}

.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-overlay {
  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: 16px;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.modal-container {
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 16px 20px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.selected-service-banner {
  background: #e6f4ea;
  border: 1px solid #a8dab5;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.banner-service-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #137333;
}

.banner-service-price {
  font-size: 0.9rem;
  color: #1b8e3e;
  margin-top: 2px;
}

.form-group {
  margin-bottom: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.form-group label .req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  color: #111827;
  font-family: inherit;
  font-size: 0.9rem;
}

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

.btn-submit-wpp {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.btn-submit-wpp:hover {
  background: #1eb857;
}

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

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

/* PIX Antecipado Vitin Cuts Box */
.pix-vitin-container {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.pix-vitin-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00c853;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.pix-qr-center {
  text-align: center;
  margin-bottom: 14px;
}

.pix-qr-image {
  width: 180px;
  height: 180px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.pix-key-label {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 4px;
  font-weight: 600;
}

.pix-key-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.pix-key-input {
  flex: 1;
  background: #111827;
  border: 1px solid #374151;
  color: #00c853;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-copy-pix {
  background: #00c853;
  color: #000000;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-copy-pix:hover {
  background: #00e676;
}

.pix-hint-text {
  font-size: 0.78rem;
  color: #d1d5db;
  text-align: center;
  line-height: 1.3;
}
