/* =========================================
   CLIENT PROOF STYLES
   ========================================= */

.proof-title {
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 1rem 0 0;
  opacity: 0.7;
  word-break: break-all;
  line-height: 1.4;
}

.proof-card.selected img {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 200;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid var(--nav-border);
  transition: all 0.4s ease;
}

.submit-bar .count {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.submit-bar .actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.submit-bar button,
.admin-bar button {
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--text-color);
  color: var(--bg-color);
  border: 1px solid var(--text-color);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--nav-divider);
}

.btn-ghost:hover {
  background: var(--nav-bg);
}

.toast {
  position: fixed;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  border: 1px solid var(--nav-border);
  color: var(--text-color);
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 300;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: grid;
  place-items: center;
  transition: opacity 0.4s ease;
}

.gate-card {
  width: min(90vw, 360px);
  text-align: center;
}

.gate-card h1 {
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.gate-card p {
  opacity: 0.7;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 0 0 2rem;
  color: #fff;
}

.gate-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gate-card input {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  text-align: center;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.gate-card input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.gate-card input:-webkit-autofill,
.gate-card input:-webkit-autofill:hover,
.gate-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}

.gate-card button {
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 100px;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.3s ease;
}

.gate-card button:hover {
  opacity: 0.85;
}

.gate-err {
  color: #e07a7a;
  font-size: 0.8rem;
  letter-spacing: 1px;
  min-height: 1rem;
}

.review-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 250;
  padding: 0.6rem 4rem;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--nav-border);
  color: var(--text-color);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.pick-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: var(--accent-color);
  color: var(--bg-color);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.proof-card.not-picked img {
  opacity: 0.4;
  transition: opacity 0.3s;
}

.proof-card.not-picked:hover img {
  opacity: 0.7;
}

.proof-card.picked img {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.note-wrap {
  margin-top: 0.75rem;
}

.note-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 2.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: 6px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
  transition: border-color 0.3s;
}

.note-wrap textarea:focus {
  outline: none;
  border-color: var(--text-color);
}

.note-wrap textarea.has-note {
  border-color: var(--accent-color);
}

.note-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 0.4rem 0.15rem;
}

.admin-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 200;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid var(--nav-border);
}

.admin-bar .summary {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.admin-bar .actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .proof-root.review-mode {
    padding-top: 8rem;
  }

  .submit-bar,
  .admin-bar {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .submit-bar .actions,
  .admin-bar .actions {
    justify-content: space-between;
  }

  .review-banner {
    padding: 0.6rem 1.5rem;
  }
}
