/* 2GK Recharge V3 — Service Center-inspired design */

:root {
  --gk-ink: #111827;
  --gk-dark: #0f1720;
  --gk-text: #334155;
  --gk-muted: #64748b;
  --gk-border: #e2e8f0;
  --gk-yellow: #ffcb05;
  --gk-bg: #f8fafc;
}

body.operator-page {
  background: var(--gk-bg);
  color: var(--gk-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.operator-page .site-header {
  background: #fff;
  border-bottom: 1px solid var(--gk-border);
}

.operator-page .operator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.operator-page .gk-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.gk-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 16px;
  background: var(--gk-dark);
  isolation: isolate;
}

.gk-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gk-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,32,.38) 0%,
    rgba(15,23,32,.08) 38%,
    rgba(15,23,32,.92) 100%
  );
}

.gk-photo-content {
  position: relative;
  min-height: 560px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.gk-location {
  align-self: flex-start;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  background: rgba(15,23,32,.4);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.gk-eyebrow {
  color: var(--gk-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.gk-photo-content h2 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.05em;
}

.gk-photo-content p {
  max-width: 400px;
  margin: 0;
  color: #f1f5f9;
  font-size: 16px;
  line-height: 1.7;
}

.gk-operator-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--gk-border);
  border-radius: 16px;
}

.gk-operator-logo {
  display: block;
  width: 190px;
  height: 120px;
  max-width: 48%;
  object-fit: contain;
  flex-shrink: 0;
}

.gk-operator-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gk-operator-copy strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--gk-ink);
}

.gk-operator-copy span {
  font-size: 14px;
  color: var(--gk-muted);
}

.operator-page .recharge-workspace {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--gk-border);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15,23,32,.035);
}

.operator-page .recharge-workspace h1 {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -.045em;
  font-weight: 800;
  color: var(--gk-ink);
}

.operator-page .recharge-workspace h2 {
  color: var(--gk-ink);
  font-weight: 800;
}

.operator-page #recharge-selection {
  background: var(--gk-bg) !important;
  border: 1px solid var(--gk-border) !important;
  border-radius: 16px !important;
}

.operator-page #recharge-selection h2 {
  color: var(--gk-ink) !important;
}

.operator-page #checkout-button {
  background: var(--gk-dark) !important;
  border-radius: 12px !important;
}

.operator-page #checkout-button:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

@media (max-width: 900px) {
  .operator-page .operator-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .operator-page .recharge-workspace {
    grid-row: 1;
  }

  .operator-page .gk-showcase {
    grid-row: 2;
  }

  .gk-photo-card,
  .gk-photo-content {
    min-height: 380px;
  }
}

@media (max-width: 520px) {
  .gk-photo-content {
    padding: 22px;
  }

  .gk-operator-panel {
    padding: 18px;
    gap: 14px;
  }

  .gk-operator-logo {
    width: 130px;
    height: 90px;
  }

  .gk-operator-copy strong {
    font-size: 20px;
  }
}

/* 2GK Service Center typography */
.operator-page .recharge-workspace {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.operator-page .recharge-workspace h1 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #111827;
}

.operator-page .recharge-workspace h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.operator-page .recharge-workspace label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.operator-page .recharge-workspace input,
.operator-page .recharge-workspace button {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}


/* Fix Alô operator logo visibility */
.operator-page .gk-operator-panel .gk-operator-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 190px !important;
  height: 120px !important;
  max-width: 48% !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

