/* ClubeLB Active CPF — área do parceiro */

body.clubelb-acpf-standalone {
  margin: 0;
  min-height: 100vh;
  background: #0f0f0f;
}

.entry-content .clubelb-acpf-wrap,
.main-page-wrapper .clubelb-acpf-wrap,
.clubelb-acpf-wrap {
  max-width: 520px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  min-height: 320px;
  position: relative;
  z-index: 5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.clubelb-acpf-container {
  width: 100%;
}

.clubelb-acpf-panel {
  background: #1a1a1a;
  border: 1px solid rgba(191, 185, 154, 0.35);
  border-radius: 16px;
  padding: 1.75rem;
  color: #f5f5f5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.clubelb-acpf-header {
  margin-bottom: 1.5rem;
}

.clubelb-acpf-header--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.clubelb-acpf-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #bfb99a;
}

.clubelb-acpf-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.45;
}

.clubelb-acpf-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4d4d4;
}

.clubelb-acpf-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #444;
  border-radius: 10px;
  background: #0f0f0f;
  color: #fff;
  font-size: 1rem;
}

.clubelb-acpf-input:focus {
  outline: none;
  border-color: #bfb99a;
  box-shadow: 0 0 0 2px rgba(191, 185, 154, 0.25);
}

.clubelb-acpf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.clubelb-acpf-button--primary {
  width: 100%;
  background: linear-gradient(135deg, #bfb99a 0%, #9a9478 100%);
  color: #1a1a1a;
}

.clubelb-acpf-button--primary:hover {
  opacity: 0.92;
}

.clubelb-acpf-form--loading .clubelb-acpf-button--primary {
  opacity: 0.75;
  cursor: wait;
}

.clubelb-acpf-button__loading {
  display: inline-block;
}

.clubelb-acpf-button--ghost {
  background: transparent;
  border: 1px solid #555;
  color: #ccc;
}

.clubelb-acpf-button--ghost:hover {
  border-color: #bfb99a;
  color: #bfb99a;
}

.clubelb-acpf-inline-form {
  margin: 0;
}

.clubelb-acpf-hint {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

/* Alertas — fundo escuro + texto claro (evita override do tema Woodmart/Elementor) */
.clubelb-acpf-wrap .clubelb-acpf-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.clubelb-acpf-wrap .clubelb-acpf-alert--success {
  background-color: #1a3320 !important;
  border: 2px solid #66bb6a !important;
  color: #e8f5e9 !important;
}

.clubelb-acpf-wrap .clubelb-acpf-alert--error {
  background-color: #3a1212 !important;
  border: 2px solid #ef5350 !important;
  color: #ffffff !important;
}

.clubelb-acpf-wrap .clubelb-acpf-alert--warning {
  background-color: #4a3520 !important;
  border: 2px solid #ffb74d !important;
  color: #fff8e1 !important;
}

/* Cartão do assinante */

.clubelb-acpf-card {
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2618 0%, #1a1a1a 45%, #121212 100%);
  border: 2px solid #bfb99a;
  box-shadow: 0 8px 32px rgba(191, 185, 154, 0.15);
}

.clubelb-acpf-card__badge {
  padding: 0.5rem 1rem;
  background: #bfb99a;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.clubelb-acpf-card__body {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  align-items: center;
}

.clubelb-acpf-card__avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #bfb99a;
}

.clubelb-acpf-card__name {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.clubelb-acpf-card__meta {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #ccc;
}

.clubelb-acpf-card__label {
  display: inline-block;
  min-width: 5rem;
  font-weight: 600;
  color: #bfb99a;
}

.clubelb-acpf-card__days {
  color: #8bc34a;
  font-size: 0.85rem;
}

.clubelb-acpf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(191, 185, 154, 0.2);
}

.clubelb-acpf-card__brand {
  font-weight: 700;
  color: #bfb99a;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .clubelb-acpf-card__body {
    flex-direction: column;
    text-align: center;
  }

  .clubelb-acpf-header--row {
    flex-direction: column;
  }
}
