/**
 * ezConsignPro Premium Subscriptions - Frontend Styles
 * Beautiful, modern design matching the theme
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables matching theme */
:root {
  --ezcp-primary: #3b82f6;
  --ezcp-primary-dark: #2563eb;
  --ezcp-success: #10b981;
  --ezcp-success-dark: #059669;
  --ezcp-danger: #ef4444;
  --ezcp-warning: #f59e0b;
  --ezcp-purple: #8b5cf6;
  
  --ezcp-bg: #ffffff;
  --ezcp-bg-gray: #f9fafb;
  --ezcp-border: #e5e7eb;
  --ezcp-text: #1f2937;
  --ezcp-text-muted: #6b7280;
  
  --ezcp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --ezcp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --ezcp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --ezcp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --ezcp-radius: 8px;
  --ezcp-radius-lg: 12px;
  --ezcp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container - follows theme width */
.ezcp-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==================== PRICING PAGE ==================== */

.ezcp-pricing-page {
  font-family: 'Inter', sans-serif;
  padding: 60px 0;
}

.ezcp-pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.ezcp-pricing-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--ezcp-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ezcp-highlight {
  background: linear-gradient(135deg, var(--ezcp-primary) 0%, var(--ezcp-success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ezcp-pricing-subtitle {
  font-size: 1.25rem;
  color: var(--ezcp-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Billing Toggle */
.ezcp-billing-toggle {
  display: inline-flex;
  gap: 0.5rem;
  background: var(--ezcp-bg-gray);
  padding: 4px;
  border-radius: var(--ezcp-radius);
  margin-top: 2rem;
}

.ezcp-toggle-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--ezcp-text-muted);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--ezcp-radius);
  transition: var(--ezcp-transition);
  position: relative;
}

.ezcp-toggle-btn.active {
  background: white;
  color: var(--ezcp-primary);
  box-shadow: var(--ezcp-shadow-sm);
}

.ezcp-save-badge {
  background: var(--ezcp-success);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-left: 8px;
}

/* Pricing Grid - Flexbox for centering 1, 2, or 3 cards */
.ezcp-pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
}

/* Card sizing - fixed width so they don't stretch */
.ezcp-pricing-grid > .ezcp-pricing-card {
  flex: 0 1 340px;
  max-width: 380px;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .ezcp-pricing-grid {
    gap: 1.5rem;
  }
  
  .ezcp-pricing-grid > .ezcp-pricing-card {
    flex: 0 1 320px;
  }
  
  .ezcp-pricing-card {
    padding: 2rem;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .ezcp-pricing-grid > .ezcp-pricing-card {
    flex: 0 1 300px;
  }
  
  .ezcp-pricing-title {
    font-size: 2.5rem;
  }
}

/* Small tablets */
@media (max-width: 768px) {
  .ezcp-pricing-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .ezcp-pricing-grid > .ezcp-pricing-card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 400px;
  }
  
  .ezcp-pricing-title {
    font-size: 2rem;
  }
  
  .ezcp-pricing-card {
    padding: 1.5rem;
  }
  
  .ezcp-plan-name {
    font-size: 1.5rem;
  }
  
  .ezcp-amount {
    font-size: 3rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .ezcp-pricing-page {
    padding: 40px 0;
  }
  
  .ezcp-pricing-header {
    margin-bottom: 40px;
  }
  
  .ezcp-pricing-title {
    font-size: 1.75rem;
  }
  
  .ezcp-pricing-subtitle {
    font-size: 1rem;
  }
  
  .ezcp-billing-toggle {
    flex-direction: column;
    width: 100%;
  }
  
  .ezcp-toggle-btn {
    width: 100%;
  }
  
  .ezcp-pricing-card {
    padding: 1.25rem;
  }
  
  .ezcp-amount {
    font-size: 2.5rem;
  }
}

.ezcp-pricing-card {
  background: white;
  border: 2px solid var(--ezcp-border);
  border-radius: var(--ezcp-radius-lg);
  padding: 2.5rem;
  transition: var(--ezcp-transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ezcp-pricing-card:hover {
  border-color: var(--card-color);
  box-shadow: var(--ezcp-shadow-xl);
  transform: translateY(-4px);
}

.ezcp-pricing-card.ezcp-popular {
  border-color: var(--ezcp-primary);
  box-shadow: var(--ezcp-shadow-lg);
}

@media (min-width: 769px) {
  .ezcp-pricing-card.ezcp-popular {
    transform: scale(1.02);
  }
}

.ezcp-popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--ezcp-primary) 0%, var(--ezcp-purple) 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ezcp-badge-icon {
  width: 16px;
  height: 16px;
}

.ezcp-card-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ezcp-plan-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ezcp-text);
  margin: 0 0 0.5rem 0;
  display: block;
  width: 100%;
}

.ezcp-plan-description {
  color: var(--ezcp-text-muted);
  font-size: 1rem;
  margin: 0;
  display: block;
  width: 100%;
  line-height: 1.5;
}

.ezcp-card-pricing {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ezcp-border);
}

.ezcp-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ezcp-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ezcp-text-muted);
}

.ezcp-amount {
  font-size: 4rem;
  font-weight: 700;
  color: var(--ezcp-text);
  line-height: 1;
}

.ezcp-period {
  font-size: 1.125rem;
  color: var(--ezcp-text-muted);
}

.ezcp-yearly-total {
  color: var(--ezcp-text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.ezcp-card-features {
  flex: 1;
  margin-bottom: 2rem;
}

.ezcp-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ezcp-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--ezcp-text);
}

.ezcp-check-icon {
  width: 20px;
  height: 20px;
  color: var(--ezcp-success);
  flex-shrink: 0;
}

.ezcp-subscribe-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--card-color) 0%, var(--card-color) 100%);
  color: white;
  border: none;
  border-radius: var(--ezcp-radius);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ezcp-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ezcp-subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--ezcp-shadow-lg);
  opacity: 0.9;
}

.ezcp-btn-arrow {
  width: 20px;
  height: 20px;
  transition: var(--ezcp-transition);
}

.ezcp-subscribe-btn:hover .ezcp-btn-arrow {
  transform: translateX(4px);
}

/* Trust Section */
.ezcp-trust-section {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 1px solid var(--ezcp-border);
}

.ezcp-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.ezcp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex-direction: column;
}

.ezcp-trust-icon {
  width: 40px;
  height: 40px;
  color: var(--ezcp-primary);
}

/* FAQ Section */
.ezcp-faq-section {
  margin: 4rem 0;
}

.ezcp-faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.ezcp-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ezcp-faq-item {
  background: var(--ezcp-bg-gray);
  padding: 2rem;
  border-radius: var(--ezcp-radius);
}

.ezcp-faq-item h3 {
  color: var(--ezcp-text);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.ezcp-faq-item p {
  color: var(--ezcp-text-muted);
  line-height: 1.6;
}

/* ==================== PROMO CODE SECTION ==================== */

.ezcp-promo-section {
  margin: 2rem 0 3rem;
  text-align: center;
}

.ezcp-promo-container {
  max-width: 400px;
  margin: 0 auto;
}

.ezcp-promo-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px dashed var(--ezcp-border);
  color: var(--ezcp-text-muted);
  padding: 10px 20px;
  border-radius: var(--ezcp-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--ezcp-transition);
}

.ezcp-promo-toggle-btn:hover {
  border-color: var(--ezcp-primary);
  color: var(--ezcp-primary);
  background: rgba(59, 130, 246, 0.05);
}

.ezcp-promo-toggle-btn.active {
  border-color: var(--ezcp-primary);
  color: var(--ezcp-primary);
}

.ezcp-promo-icon {
  width: 18px;
  height: 18px;
}

.ezcp-promo-input-wrapper {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--ezcp-bg-gray);
  border-radius: var(--ezcp-radius-lg);
  border: 1px solid var(--ezcp-border);
}

.ezcp-promo-input-group {
  display: flex;
  gap: 8px;
}

.ezcp-promo-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--ezcp-border);
  border-radius: var(--ezcp-radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--ezcp-transition);
}

.ezcp-promo-input:focus {
  outline: none;
  border-color: var(--ezcp-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ezcp-promo-input:read-only {
  background: #e8f5e9;
  border-color: var(--ezcp-success);
  color: #2e7d32;
}

.ezcp-promo-apply-btn {
  padding: 12px 24px;
  background: var(--ezcp-primary);
  color: white;
  border: none;
  border-radius: var(--ezcp-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--ezcp-transition);
  white-space: nowrap;
}

.ezcp-promo-apply-btn:hover {
  background: var(--ezcp-primary-dark);
}

.ezcp-promo-apply-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ezcp-promo-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 24px;
}

.ezcp-promo-status.success {
  color: var(--ezcp-success);
}

.ezcp-promo-status.error {
  color: var(--ezcp-danger);
}

/* ==================== CUSTOMER PORTAL ==================== */

.ezcp-portal {
  font-family: 'Inter', sans-serif;
  padding: 2rem 0;
  width: 100%;
}

.ezcp-portal-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ezcp-border);
}

.ezcp-portal-title {
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ezcp-text);
}

.ezcp-portal-icon {
  width: 28px;
  height: 28px;
  color: var(--ezcp-primary);
  flex-shrink: 0;
}

.ezcp-portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ezcp-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ezcp-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ezcp-subscription-card {
    grid-column: 1 / -1;
  }
}

.ezcp-portal-card {
  background: white;
  border: 1px solid var(--ezcp-border);
  border-radius: var(--ezcp-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ezcp-shadow-sm);
  transition: var(--ezcp-transition);
}

.ezcp-portal-card:hover {
  box-shadow: var(--ezcp-shadow);
}

.ezcp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ezcp-card-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.ezcp-status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.ezcp-status-active {
  background: #d1fae5;
  color: #065f46;
}

.ezcp-status-past_due {
  background: #fee2e2;
  color: #991b1b;
}

.ezcp-status-canceled {
  background: #e5e7eb;
  color: #374151;
}

.ezcp-plan-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .ezcp-plan-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}

.ezcp-plan-name-wrap h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.ezcp-plan-description {
  color: var(--ezcp-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.ezcp-plan-pricing {
  text-align: left;
}

@media (min-width: 640px) {
  .ezcp-plan-pricing {
    text-align: right;
  }
}

.ezcp-price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ezcp-text);
  line-height: 1;
}

@media (min-width: 640px) {
  .ezcp-price-amount {
    font-size: 2.5rem;
  }
}

.ezcp-price-period {
  color: var(--ezcp-text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

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

.ezcp-info-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: var(--ezcp-bg-gray);
  border-radius: var(--ezcp-radius);
}

.ezcp-info-label {
  color: var(--ezcp-text-muted);
  font-weight: 500;
}

.ezcp-info-value {
  font-weight: 600;
  color: var(--ezcp-text);
}

.ezcp-actions-grid {
  display: grid;
  gap: 1rem;
}

.ezcp-action-btn {
  padding: 14px 24px;
  border: 2px solid var(--ezcp-border);
  background: white;
  color: var(--ezcp-text);
  border-radius: var(--ezcp-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--ezcp-transition);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-decoration: none;
}

.ezcp-action-btn:hover {
  border-color: var(--ezcp-primary);
  background: var(--ezcp-bg-gray);
}

.ezcp-action-btn svg {
  width: 20px;
  height: 20px;
}

.ezcp-primary-btn {
  background: var(--ezcp-primary);
  border-color: var(--ezcp-primary);
  color: white;
}

.ezcp-primary-btn:hover {
  background: var(--ezcp-primary-dark);
  border-color: var(--ezcp-primary-dark);
  color: white;
}

.ezcp-danger-btn {
  border-color: var(--ezcp-danger);
  color: var(--ezcp-danger);
}

.ezcp-danger-btn:hover {
  background: var(--ezcp-danger);
  color: white;
  border-color: var(--ezcp-danger);
}

/* Portal Features List */
.ezcp-portal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.ezcp-portal-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--ezcp-bg-gray);
  border-radius: var(--ezcp-radius);
  transition: var(--ezcp-transition);
}

.ezcp-portal-feature-item:hover {
  background: #e5e7eb;
}

.ezcp-feature-check {
  width: 20px;
  height: 20px;
  color: var(--ezcp-success);
  flex-shrink: 0;
}

/* Usage Tracking */
.ezcp-usage-items {
  display: grid;
  gap: 1.5rem;
}

.ezcp-usage-item {
  display: grid;
  gap: 0.5rem;
}

.ezcp-usage-label {
  font-weight: 600;
  color: var(--ezcp-text);
  font-size: 0.875rem;
}

.ezcp-usage-bar {
  height: 8px;
  background: var(--ezcp-bg-gray);
  border-radius: 4px;
  overflow: hidden;
}

.ezcp-usage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ezcp-primary) 0%, var(--ezcp-success) 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.ezcp-usage-text {
  font-size: 0.875rem;
  color: var(--ezcp-text-muted);
}

.ezcp-usage-current {
  font-weight: 700;
  color: var(--ezcp-primary);
}

.ezcp-usage-limit {
  font-weight: 600;
}

/* Cancel Notice */
.ezcp-cancel-notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  padding: 1rem;
  border-radius: var(--ezcp-radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ezcp-cancel-notice svg {
  width: 20px;
  height: 20px;
  color: #f59e0b;
  flex-shrink: 0;
}

.ezcp-cancel-notice span {
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Empty State */
.ezcp-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.ezcp-empty-icon {
  width: 80px;
  height: 80px;
  color: var(--ezcp-text-muted);
  margin: 0 auto 2rem;
  opacity: 0.5;
}

.ezcp-empty-state h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ezcp-text);
  margin-bottom: 1rem;
}

.ezcp-empty-state p {
  color: var(--ezcp-text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Login Notice */
.ezcp-login-notice {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--ezcp-bg-gray);
  border-radius: var(--ezcp-radius-lg);
  border: 2px solid var(--ezcp-border);
  font-size: 1.125rem;
  color: var(--ezcp-text-muted);
}

.ezcp-login-notice a {
  color: var(--ezcp-primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--ezcp-transition);
}

.ezcp-login-notice a:hover {
  color: var(--ezcp-primary-dark);
  text-decoration: underline;
}

/* Portal Responsive Design */
@media (max-width: 768px) {
  .ezcp-portal {
    padding: 1rem 0;
  }
  
  .ezcp-portal-title {
    font-size: 1.5rem;
  }
  
  .ezcp-portal-icon {
    width: 24px;
    height: 24px;
  }
  
  .ezcp-portal-card {
    padding: 1.25rem;
  }
  
  .ezcp-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .ezcp-card-header h2 {
    font-size: 1.25rem;
  }
  
  .ezcp-action-btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }
  
  .ezcp-action-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .ezcp-portal-title {
    font-size: 1.25rem;
    gap: 0.5rem;
  }
  
  .ezcp-portal-icon {
    width: 20px;
    height: 20px;
  }
  
  .ezcp-empty-icon {
    width: 60px;
    height: 60px;
  }
  
  .ezcp-empty-state h2 {
    font-size: 1.5rem;
  }
  
  .ezcp-empty-state p {
    font-size: 1rem;
  }
}

/* ==================== MODALS ==================== */

.ezcp-modal,
.ezcp-checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.ezcp-modal.active,
.ezcp-checkout-modal.active {
  display: flex;
}

.ezcp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.ezcp-modal-content {
  position: relative;
  background: white;
  border-radius: var(--ezcp-radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--ezcp-shadow-xl);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ezcp-modal-header {
  padding: 2rem;
  border-bottom: 1px solid var(--ezcp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ezcp-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.ezcp-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ezcp-text-muted);
  transition: var(--ezcp-transition);
}

.ezcp-modal-close:hover {
  color: var(--ezcp-text);
}

.ezcp-modal-close svg {
  width: 24px;
  height: 24px;
}

.ezcp-modal-body {
  padding: 2rem;
}

.ezcp-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.ezcp-btn {
  padding: 12px 24px;
  border-radius: var(--ezcp-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--ezcp-transition);
  border: none;
}

.ezcp-btn-primary {
  background: var(--ezcp-primary);
  color: white;
}

.ezcp-btn-secondary {
  background: var(--ezcp-bg-gray);
  color: var(--ezcp-text);
}

.ezcp-btn-danger {
  background: var(--ezcp-danger);
  color: white;
}

/* Spinner */
.ezcp-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--ezcp-border);
  border-top-color: var(--ezcp-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
