/* =========================================
   DASHBOARD SUBSCRIPTION CARD
========================================= */

.subscription-card {
  border: 1px solid #d9e6dc;
  background: #f7faf7;
}

.subscription-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.subscription-card p {
  line-height: 1.6;
}

.subscription-trial-info {
  margin: 14px 0;
  padding: 12px;
  background: #e9f4eb;
  border-radius: 10px;
  font-weight: 600;
  color: #285b3a;
}

.subscription-plans {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.subscription-plans button,
#manageSubscription {
  width: 100%;
  min-height: 44px;
  cursor: pointer;
}

.subscription-error {
  margin-top: 12px;
  color: #a32626;
  font-size: 14px;
}

.subscription-card button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.subscription-card [hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .subscription-card {
    padding: 18px;
  }

  .subscription-plans {
    gap: 12px;
  }
}
/* Subscription plan buttons */

.subscription-plans button {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;

  border: 1px solid #176b50;
  border-radius: 12px;

  background: #ffffff;
  color: #07543f;

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: background 0.2s ease;
}

.subscription-plans button:hover {
  background: #e8f3eb;
}

.subscription-plans button:disabled {
  opacity: 0.6;
  cursor: wait;
}
/* =========================================
   MANAGE SUBSCRIPTION BUTTON
========================================= */

#manageSubscription {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  padding: 14px 20px;

  background: #ffffff;
  color: #07543f;

  border: 1px solid #176b50;
  border-radius: 12px;

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

#manageSubscription:hover:not(:disabled) {
  background: #e8f3eb;
}

#manageSubscription:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#manageSubscription[hidden] {
  display: none !important;
}