/* Container */
.crs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.crs-header {
  margin-bottom: 2rem;
}

.crs-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.crs-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Steps */
.crs-steps {
  margin-bottom: 2rem;
}

.crs-steps-desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .crs-steps-desktop {
    display: flex;
  }
}

.crs-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crs-step-marker {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.crs-step-marker.completed {
  background: #10b981;
  color: white;
}

.crs-step-marker.completed:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.crs-step-marker.active {
  background: #3b82f6;
  color: white;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.crs-step-marker:not(.completed):not(.active) {
  background: #e2e8f0;
  color: #64748b;
}

.crs-step-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  max-width: 80px;
  cursor: pointer;
}

.crs-step-label.active {
  color: #3b82f6;
}

.crs-step-connector {
  width: 3rem;
  height: 0.125rem;
  margin: 0 0.5rem;
  background: #e2e8f0;
}

@media (min-width: 1280px) {
  .crs-step-connector {
    width: 5rem;
  }
}

.crs-step-connector.completed {
  background: #10b981;
}

/* Mobile Steps */
.crs-steps-mobile {
  display: block;
}

@media (min-width: 1024px) {
  .crs-steps-mobile {
    display: none;
  }
}

.crs-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.crs-step-counter {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}

.crs-current-step {
  font-size: 0.875rem;
  color: #64748b;
}

.crs-progress-bar {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.crs-progress-step {
  flex: 1;
  height: 0.5rem;
  border-radius: 9999px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.crs-progress-step.completed {
  background: #10b981;
}

.crs-progress-step.active {
  background: #3b82f6;
}

.crs-progress-step:not(.completed):not(.active) {
  background: #e2e8f0;
}

/* Main Card */
.crs-card {
  max-width: 64rem;
  margin: 0 auto;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Animation */
@keyframes crs-slide-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.crs-fade-in {
  animation: crs-slide-up 0.3s ease-out;
}

/* Loading State */
.crs-loading {
  text-align: center;
  padding: 3rem;
  color: #64748b;
}

/* Step Content */
.crs-step-content {
  padding: 1rem 0;
}

.crs-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.crs-step-description {
  color: #64748b;
  margin-bottom: 2rem;
}

/* Options Grid */
.crs-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .crs-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crs-option-card {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.crs-option-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.crs-option-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}

.crs-option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.crs-option-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.crs-option-desc {
  color: #64748b;
  font-size: 0.875rem;
}

/* Form Elements */
.crs-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .crs-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crs-form-group {
  margin-bottom: 1rem;
}

.crs-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.crs-input,
.crs-select,
.crs-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.crs-input:focus,
.crs-select:focus,
.crs-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.crs-textarea {
  min-height: 100px;
  resize: vertical;
}

.crs-field-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* Radio and Checkbox */
.crs-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.crs-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.crs-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.crs-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

/* Registration Types */
.crs-registration-types {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.crs-registration-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.crs-registration-option:last-child {
  border-bottom: none;
}

.crs-registration-option:hover {
  background: #f8fafc;
}

.crs-option-radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crs-option-radio input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
}

.crs-option-price {
  font-weight: 600;
  color: #3b82f6;
}

/* Hotels List */
.crs-hotels-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.crs-hotel-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.crs-hotel-option:last-child {
  border-bottom: none;
}

.crs-hotel-radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crs-hotel-radio input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
}

.crs-hotel-price {
  font-weight: 600;
  color: #10b981;
}

/* Meals List */
.crs-meals-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.crs-meal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.crs-meal-option:last-child {
  border-bottom: none;
}

.crs-meal-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crs-meal-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
}

.crs-meal-type {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
}

.crs-meal-price {
  font-weight: 600;
  color: #3b82f6;
}

/* Workshops List */
.crs-workshops-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.crs-workshop-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.crs-workshop-option:last-child {
  border-bottom: none;
}

.crs-workshop-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crs-workshop-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
}

.crs-workshop-datetime {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
}

.crs-seats-available {
  font-size: 0.875rem;
  color: #f59e0b;
}

/* Note Box */
.crs-note-box {
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.crs-important-note {
  background: #fff7ed;
  border-left: 4px solid #f97316;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  font-size: 0.875rem;
}

/* Summary Grid */
.crs-summary-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .crs-summary-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.crs-summary-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.crs-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.crs-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.crs-summary-row:last-child {
  border-bottom: none;
}

.crs-summary-label {
  color: #0f172a;
}

.crs-summary-note {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
}

.crs-summary-value {
  font-weight: 500;
  color: #0f172a;
}

/* Price Summary */
.crs-summary-sticky {
  position: sticky;
  top: 6rem;
}

.crs-price-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.crs-price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: #64748b;
}

.crs-price-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid #e2e8f0;
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
}

/* Scholarship Card */
.crs-scholarship-card,
.crs-invoice-card,
.crs-terms-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.crs-scholarship-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #3b82f6;
  font-weight: 500;
  cursor: pointer;
}

.crs-gift-icon {
  font-size: 1.25rem;
}

/* Buttons */
.crs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.crs-btn-primary {
  background: #3b82f6;
  color: white;
}

.crs-btn-primary:hover {
  background: #2563eb;
}

.crs-btn-secondary {
  background: white;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.crs-btn-secondary:hover {
  background: #f8fafc;
}

.crs-pay-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.crs-save-button {
  width: 100%;
  padding: 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #64748b;
}

/* Navigation */
.crs-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Invoice Fields */
.crs-invoice-fields {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

/* Dashboard */
.crs-dashboard {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
}

.crs-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2rem;
}

.crs-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  position: relative;
}

.crs-tab.active {
  color: #3b82f6;
}

.crs-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
}

.crs-tab-content {
  display: none;
}

.crs-tab-content.active {
  display: block;
}

/* Accordion */
.crs-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.crs-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  cursor: pointer;
}

.crs-accordion-header h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.crs-accordion-content {
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
}

.crs-document-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.crs-document-item a {
  color: #3b82f6;
  text-decoration: none;
}

.crs-document-item a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .crs-card {
    padding: 1rem;
  }

  .crs-title {
    font-size: 1.5rem;
  }

  .crs-step-title {
    font-size: 1.25rem;
  }
}
/* Steps Container */
.crs-steps {
  margin-bottom: 30px;
}

/* Desktop Steps */
.crs-steps-desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .crs-steps-desktop {
    display: flex;
  }
}

.crs-step-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
}

.crs-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Step Marker */
.crs-step-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  margin-bottom: 6px;
}

/* Completed State */
.crs-step-completed {
  background-color: hsl(145, 65%, 42%); /* Green */
  color: white;
}

.crs-step-completed:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px hsla(145, 65%, 42%, 0.2);
}

.crs-step-completed svg {
  stroke: white;
  width: 20px;
  height: 20px;
}

/* Active State */
.crs-step-active {
  background-color: hsl(145, 65%, 42%); /* Same green */
  color: white;
}

.crs-step-active:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px hsla(145, 65%, 42%, 0.2);
}

/* Pending State */
.crs-step-pending {
  background-color: hsl(210, 15%, 95%); /* Light gray */
  color: hsl(220, 10%, 45%); /* Dark gray text */
}

.crs-step-pending:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px hsla(210, 15%, 85%, 0.5);
}

/* Step Labels */
.crs-step-label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  max-width: 70px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.crs-step-label-completed {
  color: hsl(220, 10%, 45%); /* Dark gray */
}

.crs-step-label-active {
  color: hsl(145, 65%, 42%); /* Green */
  font-weight: 600;
}

.crs-step-label-pending {
  color: hsl(220, 10%, 45%); /* Dark gray */
}

/* Connector Lines */
.crs-step-connector {
  height: 2px;
  flex: 1;
  min-width: 20px;
  margin: 0 8px;
  transition: background-color 0.2s ease;
}

@media (min-width: 1280px) {
  .crs-step-connector {
    min-width: 40px;
    margin: 0 12px;
  }
}

.crs-connector-completed {
  background-color: hsl(145, 65%, 42%); /* Green */
}

.crs-connector-active {
  background-color: hsl(145, 65%, 42%); /* Green */
}

.crs-connector-pending {
  background-color: hsl(210, 15%, 90%); /* Light gray */
}

/* Mobile Steps */
.crs-steps-mobile {
  display: block;
}

@media (min-width: 1024px) {
  .crs-steps-mobile {
    display: none;
  }
}

.crs-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.crs-step-counter {
  font-size: 14px;
  font-weight: 500;
  color: hsl(220, 10%, 30%);
}

.crs-current-step {
  font-size: 14px;
  color: hsl(145, 65%, 42%);
  font-weight: 500;
}

.crs-progress-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.crs-progress-step {
  flex: 1;
  height: 6px;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.crs-progress-completed {
  background-color: hsl(145, 65%, 42%); /* Green */
}

.crs-progress-active {
  background-color: hsl(145, 65%, 42%); /* Green */
}

.crs-progress-pending {
  background-color: hsl(210, 15%, 90%); /* Light gray */
}

.crs-progress-step:hover {
  opacity: 0.8;
}

.crs-progress-step:disabled {
  cursor: default;
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .crs-step-marker {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .crs-step-label {
    font-size: 11px;
    max-width: 60px;
  }

  .crs-step-connector {
    min-width: 15px;
    margin: 0 4px;
  }
}

@media (max-width: 380px) {
  .crs-step-marker {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .crs-step-label {
    font-size: 10px;
    max-width: 50px;
  }

  .crs-step-connector {
    min-width: 10px;
    margin: 0 2px;
  }
}
.crs-step-marker {
  border-radius: 50%;
  border: none;
  background-color: hsl(210 15% 95%);
}
.crs-step-item.completed-step button {
  background-color: hsl(145 65% 42%) !important;
}
.crs-step-item button {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
button#crs-prev-step,
button#crs-next-step {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
button#crs-prev-step {
  border-color: hsl(214 20% 88%);
  color: black !important;
}
button#crs-prev-step:hover {
  background-color: white !important;
  color: black !important;
}
button#crs-next-step {
  background: #3b82f6 !important;
  color: white !important;
  border-color: #3b82f6;
}
button.crs-step-marker.crs-step-completed {
  color: white !important;
}
.crs-diet-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.crs-diet-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 30px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.crs-diet-btn input[type="checkbox"] {
  display: none;
}

.crs-diet-btn.active {
  background: #007cba;
  border-color: #007cba;
  color: white;
}

.crs-diet-btn:hover {
  border-color: #007cba;
}

.crs-diet-other-field {
  margin-top: 15px;
}

.crs-text-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  .crs-diet-options {
    flex-direction: column;
  }

  .crs-diet-btn {
    width: 100%;
    text-align: center;
  }
}
.crs-option-card.invoice_rqquest_section,
.crs-option-card.term_and_conditions {
  padding: 12px !important;
  text-align: left;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  margin: 1rem 0;
}
.crs-option-card.term_and_conditions {
  font-size: 12px;
}

button.crs-pay-button {
  width: 100%;
  border: none;
  color: white;
  border-radius: 4px;
}
button.crs-save-button {
  width: 100%;
  border: 1px solid hsl(214 20% 88%);
  color: hsl(220 10% 45%);
}
button.crs-save-button:hover {
  background-color: hsl(210 15% 95%);
  color: hsl(220 10% 45%);
}
button#crs-prev-step:hover {
  background: transparent !important;
}
/* Add to your frontend.css */

.crs-pay-button {
  position: relative;
  transition: all 0.3s ease;
}

.crs-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: crs-spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes crs-spin {
  to {
    transform: rotate(360deg);
  }
}

.crs-btn-text {
  vertical-align: middle;
}

.crs-summary-grid {
  transition: opacity 0.3s ease;
}

/* Payment method styles */
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.wc_payment_method {
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.wc_payment_method > label {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8fafc;
  cursor: pointer;
  margin: 0;
}

.wc_payment_method input[type="radio"] {
  margin-right: 10px;
}

.payment_box {
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: none;
}

.payment_box p {
  margin: 0 0 10px;
}

/* Price breakdown */
.crs-price-breakdown {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.crs-price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.crs-price-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 16px;
}

.crs-price-label {
  color: #64748b;
}

.crs-price-value {
  color: #1e293b;
  font-weight: 500;
}

.crs-total-value {
  color: #059669;
  font-size: 18px;
}

/* Payment method animations */
.wc_payment_method {
  transition: all 0.2s ease;
}

.payment_box {
  transition: all 0.3s ease;
}

/* Ensure summary stays visible */
/* .crs-summary-grid {
  display: block !important;
} */

/* Payment section styling */
.crs-payment-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.crs-payment-title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.crs-order-summary {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #e2e8f0;
}

.crs-order-summary h4 {
  margin: 0 0 15px 0;
  color: #1e293b;
  font-size: 16px;
}

.crs-price-breakdown {
  margin-bottom: 15px;
}

.crs-price-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.crs-price-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 16px;
}

.crs-price-label {
  color: #64748b;
}

.crs-price-value {
  color: #1e293b;
  font-weight: 500;
}

.crs-total-value {
  color: #059669;
  font-size: 18px;
}

.crs-order-number {
  margin: 15px 0 0;
  padding-top: 15px;
  border-top: 2px solid #e2e8f0;
  color: #475569;
}

/* Payment method styling */
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.wc_payment_method {
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.wc_payment_method > label {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8fafc;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  color: #1e293b;
}

.wc_payment_method input[type="radio"] {
  margin-right: 15px;
  width: 18px;
  height: 18px;
  accent-color: #2271b1;
}

.wc_payment_method .payment_box {
  padding: 20px;
  background: white;
  border-top: 1px solid #e2e8f0;
  display: none;
}

.payment_box p {
  margin: 0 0 10px;
  color: #475569;
}

/* Payment action buttons */
.crs-payment-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

#crs-process-payment {
  background: #059669;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

#crs-process-payment:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

#crs-cancel-payment {
  background: white;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

#crs-cancel-payment:hover {
  background: #f1f5f9;
}

/* Stripe specific styling */
.wc-stripe-upe-element {
  padding: 10px 0;
}

.testmode-info {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}
/* Keep only this - no display property */
#crs-payment-container {
  margin-top: 30px;
}

/* Ensure payment methods are visible */
.wc_payment_methods {
  display: block !important;
  visibility: visible !important;
}

.payment_box {
  display: none; /* This is correct - hidden until selected */
}

.payment_box.payment_method_stripe {
  display: block; /* Show Stripe fields when selected */
}

button.crs-progress-step.crs-progress-active {
  background: #3b82f6 !important;
}

button.crs-progress-step.crs-progress-completed {
  background-color: hsl(145 65% 42%) !important;
}

button.crs-progress-step {
  border: none !important;
}
.type-congress .page-header {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.crs-input-error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

.crs-input-error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.crs-error-message {
  color: #dc2626;
  font-size: 12px;
  margin-top: 5px;
  animation: crs-shake 0.3s ease-in-out;
}

@keyframes crs-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}
/* Skeleton Loading Animation */
@keyframes crs-skeleton-pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.crs-skeleton-loader {
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.crs-skeleton-header {
  margin-bottom: 30px;
}

.crs-skeleton-title {
  width: 250px;
  height: 32px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: crs-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 8px;
  margin-bottom: 12px;
}

.crs-skeleton-subtitle {
  width: 180px;
  height: 20px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: crs-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 6px;
}

.crs-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.crs-skeleton-item {
  height: 80px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: crs-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 12px;
}

.crs-skeleton-item.large {
  grid-column: span 2;
  height: 120px;
}

.crs-skeleton-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.crs-skeleton-button {
  width: 120px;
  height: 48px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: crs-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .crs-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .crs-skeleton-footer {
    flex-direction: column;
  }

  .crs-skeleton-button {
    width: 100%;
  }
}
