
/* Checkout-specific styles */

/* Slide-up Panel Styles */
.slide-up-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.slide-up-overlay.active {
  display: block;
}

.slide-up-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  max-height: 70vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.slide-up-panel.active {
  transform: translateY(0);
}

.slide-up-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.slide-up-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.slide-up-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
}

.slide-up-panel-content {
  padding: 20px;
}

.slide-up-panel-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.slide-up-panel-flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
}

.slide-up-panel-details {
  flex: 1;
}

.slide-up-panel-country {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.slide-up-panel-plan-name {
  font-size: 16px;
  color: #6b7280;
}

.slide-up-panel-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.slide-up-panel-features {
  margin-bottom: 30px;
}

.slide-up-panel-feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.slide-up-panel-feature-icon {
  width: 20px;
  height: 20px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.slide-up-panel-feature-text {
  color: #374151;
  font-size: 14px;
}

.slide-up-panel-continue {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}

.slide-up-panel-continue:hover {
  background-color: rgba(14, 165, 233, 0.9);
}

/* Checkout Mobile Panels */
.checkout-panel-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.checkout-panel-overlay.active {
  display: block;
}

.checkout-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.checkout-panel.active {
  transform: translateY(0);
}

.checkout-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.checkout-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.checkout-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
}

.checkout-panel-content {
  padding: 20px;
}

/* Validation Error Panel */
.validation-error-panel {
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.validation-error-title {
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 8px;
}

.validation-error-message {
  color: #b91c1c;
  font-size: 14px;
}

/* Success Panel */
.success-panel {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.success-panel-title {
  color: #059669;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-panel-message {
  color: #047857;
  font-size: 14px;
}

/* Loading Panel */
.loading-panel {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  color: #6b7280;
  font-size: 16px;
}
