/* Auth Pages */
.auth-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-container.success-view {
  text-align: center;
}

/* Dashboard */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #f8f9fa;
}

.dashboard-nav {
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.dashboard-nav a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #495057;
  border-radius: 4px;
}

.dashboard-nav a.active {
  background: #e9ecef;
  color: #212529;
}

.dashboard-nav a:hover {
  background: #e9ecef;
}

.dashboard-nav i {
  margin-right: 0.5rem;
}

.dashboard-main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.subscription-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.status {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.status.active {
  background: #d4edda;
  color: #155724;
}

.status.canceled {
  background: #f8d7da;
  color: #721c24;
}

/* Billing Page Styles */
.invoice-list {
  margin: 1.5rem 0;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table th, .invoice-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

.invoice-table th {
  background: #f8f9fa;
  font-weight: 600;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.payment-method {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.card-brand {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-brand i {
  margin-right: 0.5rem;
  color: #6c757d;
}

.remove-method {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
}

/* Profile Page Styles */
.profile-section, .service-section, .danger-zone {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-card {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.danger-zone {
  border: 1px solid #f8d7da;
}

/* Cancel Page Specific */
.subscription-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Success Page Specific */
.receipt {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

/* Button Styles */
.btn-danger {
  background: #dc3545;
  color: white;
  margin-bottom: 1rem;
}

.btn-danger:hover {
  background: #c82333;
}

/* Utility Styles */
.loading-spinner {
  border: 4px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top: 4px solid #00F0B5;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error {
  color: #dc3545;
  padding: 1rem;
  background: #f8d7da;
  border-radius: 4px;
}

/* Check marks styling */
.fa-check-circle {
  color: var(--primary);
  margin-right: 10px;
}

/* Fallback for icons */
i {
  display: inline-block;
  width: 20px;
  text-align: center;
}

/* If using pseudo-elements for checks */
.checkmark::after {
  content: "\2713";
  color: var(--primary);
  font-weight: bold;
}