body.account-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 0.875rem;
}

.account-hero {
  position: relative;
  padding: 6rem 1.5rem 4.5rem;
  display: flex;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.account-hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(194, 140, 102, 0.35) 0%, rgba(232, 180, 160, 0.15) 40%, rgba(0, 0, 0, 0) 70%);
  filter: blur(20px);
  opacity: 0.75;
  z-index: 0;
}

.account-hero-decoration {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(23, 23, 28, 0.6) 0%, rgba(15, 15, 19, 0.9) 80%);
  mix-blend-mode: lighten;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.account-hero-content {
  position: relative;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  animation: fadeInUp 0.7s ease-out;
  z-index: 1;
}

.account-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(194, 140, 102, 0.15);
  border: 1px solid rgba(194, 140, 102, 0.35);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--peach);
}

.account-title {
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

.account-title-accent {
  background: linear-gradient(135deg, var(--copper-light), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.account-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

.account-main {
  position: relative;
  margin-top: -3rem;
  z-index: 2;
  padding: 0 1.5rem 4.5rem;
}

.account-container {
  max-width: 1100px;
  margin: 0 auto;
}

.account-content {
  display: grid;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-card {
  background: linear-gradient(165deg, rgba(24, 24, 32, 0.92) 0%, rgba(16, 16, 24, 0.95) 100%);
  border: 1px solid rgba(194, 140, 102, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 12px 40px rgba(10, 10, 14, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.account-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(194, 140, 102, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(232, 180, 160, 0.12), transparent 45%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.account-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(194, 140, 102, 0.4) 45%,
      rgba(232, 180, 160, 0.35) 55%,
      transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.account-card>* {
  position: relative;
  z-index: 2;
}

.account-card:hover {
  border-color: rgba(194, 140, 102, 0.35);
  transform: translateY(-4px);
  box-shadow:
    0 12px 48px rgba(194, 140, 102, 0.2),
    0 0 0 1px rgba(194, 140, 102, 0.1) inset;
}

.account-card:hover::after {
  opacity: 1;
}

.account-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.plan-info-grid {
  display: grid;
  gap: 1rem;
}

.plan-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.plan-info-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--copper), var(--copper-light));
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-info-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(194, 140, 102, 0.25);
  transform: translateX(4px);
}

.plan-info-row:hover::before {
  opacity: 1;
}

.plan-info-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.plan-info-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.plan-badge.free {
  background: linear-gradient(135deg, rgba(150, 150, 150, 0.2), rgba(120, 120, 120, 0.25));
  color: #ccc;
  border: 1.5px solid rgba(150, 150, 150, 0.3);
}

.plan-badge.premium {
  background: linear-gradient(135deg, rgba(194, 140, 102, 0.25), rgba(212, 163, 116, 0.3));
  color: var(--copper-light);
  border: 1.5px solid rgba(194, 140, 102, 0.4);
  box-shadow: 0 4px 16px rgba(194, 140, 102, 0.3);
}

.plan-badge.premium:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(194, 140, 102, 0.4);
}

.plan-badge.premium_plus {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.3));
  color: #fcd34d;
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.plan-badge.premium_plus:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.account-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-account {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-account::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-account:hover::before {
  width: 300px;
  height: 300px;
}

.btn-account-primary {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(194, 140, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-account-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(194, 140, 102, 0.5);
}

.btn-account-primary:active {
  transform: translateY(-1px);
}

.btn-account-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-account-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(194, 140, 102, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.subscription-highlight {
  color: var(--copper-light);
  font-weight: 700;
}

/* Subscription Status Badges */
.subscription-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.subscription-status-badge.active {
  background: rgba(32, 201, 120, 0.15);
  color: #20c978;
  border: 1px solid rgba(32, 201, 120, 0.3);
}

.subscription-status-badge.pending {
  background: rgba(255, 193, 58, 0.15);
  color: #ffc13a;
  border: 1px solid rgba(255, 193, 58, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.subscription-status-badge.active .status-dot {
  background: #20c978;
  box-shadow: 0 0 8px rgba(32, 201, 120, 0.6);
}

.subscription-status-badge.pending .status-dot {
  background: #ffc13a;
  box-shadow: 0 0 8px rgba(255, 193, 58, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* User Profile Card */
.user-profile {
  background: linear-gradient(165deg, rgba(30, 30, 40, 0.92) 0%, rgba(20, 20, 30, 0.95) 100%);
  border-color: rgba(194, 140, 102, 0.25);
}

.plan-description {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(194, 140, 102, 0.08);
  border-left: 3px solid var(--copper);
  border-radius: 8px;
}

.plan-description p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Subscription Cards Variants */
.subscription-active {
  border-color: rgba(32, 201, 120, 0.25);
}

.subscription-active::before {
  background: radial-gradient(circle at 20% 20%, rgba(32, 201, 120, 0.15), transparent 55%);
}

.subscription-pending {
  border-color: rgba(255, 193, 58, 0.25);
}

.subscription-pending::before {
  background: radial-gradient(circle at 20% 20%, rgba(255, 193, 58, 0.15), transparent 55%);
}

.subscription-free {
  border-color: rgba(150, 150, 150, 0.2);
}

/* Payment History */
.payment-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.payment-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-history-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(194, 140, 102, 0.2);
  transform: translateX(4px);
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-plan {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.payment-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.payment-status-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.payment-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--copper-light);
}

.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.payment-status.success {
  background: rgba(32, 201, 120, 0.15);
  color: #20c978;
  border: 1px solid rgba(32, 201, 120, 0.3);
}

.payment-status.warning {
  background: rgba(255, 193, 58, 0.15);
  color: #ffc13a;
  border: 1px solid rgba(255, 193, 58, 0.3);
}

.payment-status.error {
  background: rgba(255, 77, 77, 0.15);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .account-main {
    margin-top: -3rem;
    padding: 0 1.25rem 4.5rem;
  }

  .account-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .account-hero {
    padding: 6rem 1rem 4.5rem;
  }

  .account-hero-badge {
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
  }

  .account-main {
    margin-top: -2.5rem;
    padding: 0 1rem 3.5rem;
  }

  .account-card {
    padding: 1.75rem;
  }

  .account-actions {
    flex-direction: column;
  }

  .plan-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .plan-info-label,
  .plan-info-value {
    font-size: 0.95rem;
  }

  .payment-history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .payment-status-group {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .account-hero {
    padding-top: 5.5rem;
  }

  .account-card {
    padding: 1.5rem;
  }

  .plan-badge {
    width: 100%;
    justify-content: center;
  }
}

/* Usage Stats Section */
.usage-stats {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.usage-stats h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.usage-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.usage-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.usage-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.usage-limit {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.usage-remaining {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.usage-remaining strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--copper-light);
  margin-bottom: 0.25rem;
}

.usage-progress-container {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.usage-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(194, 140, 102, 0.5);
}

.usage-stats.usage-low .usage-progress-bar {
  background: linear-gradient(90deg, #20c978, #3dd68c);
  box-shadow: 0 0 12px rgba(32, 201, 120, 0.5);
}

.usage-stats.usage-medium .usage-progress-bar {
  background: linear-gradient(90deg, #ffc13a, #ffd666);
  box-shadow: 0 0 12px rgba(255, 193, 58, 0.5);
}

.usage-stats.usage-high .usage-progress-bar {
  background: linear-gradient(90deg, #ff4d4d, #ff7777);
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.5);
}

.usage-reset {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.usage-reset strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive adjustments for usage stats */
@media (max-width: 768px) {
  .usage-info {
    flex-direction: column;
    gap: 0.75rem;
  }

  .usage-remaining {
    text-align: left;
  }
}

/* Discount Badge - Renovação Antecipada */
.discount-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.25));
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fcd34d;
  text-align: center;
  margin-bottom: 1.25rem;
  animation: pulseGlow 2s ease-in-out infinite;
  box-shadow: 
    0 4px 16px rgba(251, 191, 36, 0.3),
    0 0 0 1px rgba(251, 191, 36, 0.1) inset;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 4px 16px rgba(251, 191, 36, 0.3),
      0 0 0 1px rgba(251, 191, 36, 0.1) inset;
  }
  50% {
    box-shadow: 
      0 4px 24px rgba(251, 191, 36, 0.5),
      0 0 0 1px rgba(251, 191, 36, 0.2) inset;
    transform: scale(1.02);
  }
}

/* Renewal Info Text */
.renewal-info {
  padding: 1rem 1.25rem;
  background: rgba(194, 140, 102, 0.1);
  border-left: 3px solid var(--copper);
  border-radius: 10px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.renewal-info strong {
  color: var(--copper-light);
  font-weight: 700;
}

/* Mobile responsiveness for discount */
@media (max-width: 768px) {
  .discount-badge {
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
  }
  
  .renewal-info {
    font-size: 0.875rem;
  }
}