.socratic-seminars {
  .edit-seminar-title {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
  }
}

.sections-container {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  /* max-width: 700px; */
}

.sections-container h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}

.section-title {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sections-list {
  margin-bottom: 1rem;
}

.section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.section-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-item h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #444;
}

.topic-count {
  background-color: #f89406;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

.button-primary {
  background-color: #007bff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.button-secondary {
  background-color: #6c757d;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-left: 0.5rem;
  border: 1px solid #5a6268 !important;
}

.button {
  border: 1px solid var(--primary-orange);
}

.button:hover {
  opacity: 0.9;
}

.button-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.button-danger {
  background-color: white;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

/* Style for button_to form to maintain inline layout */
.delete-action {
  margin-top: 1rem;
}

.button-group {
  display: flex;
  gap: 0.5rem;
}

.button-danger:hover {
  background-color: #dc3545;
  color: white;
}

/* Payout Page Styles */
.payout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-orange);
}

.page-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  margin: 0;
  font-size: 2rem;
  color: #333;
}

.seminar-info {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5rem;
}

.seminar-number {
  color: var(--primary-orange);
  font-weight: bold;
}

.payout-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.payout-section {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  color: #333;
}

.section-title i {
  color: var(--primary-orange);
}

.payout-amount {
  text-align: center;
}

.amount-display {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.amount-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #666;
}

.amount-unit {
  font-size: 2.5rem;
  color: var(--primary-orange);
}

.amount-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.manual-process-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #856404;
}

.manual-process-note i {
  margin-right: 0.5rem;
}

.payout-actions {
  text-align: center;
  margin-bottom: 3rem;
}

.action-buttons {
  display: inline-block;
}

.button-primary.disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.button-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.button-note i {
  margin-right: 0.25rem;
}

.payout-details {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  margin: 0 0 1.5rem 0;
  font-size: 1.4rem;
  color: #333;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.5rem;
}

.section-name {
  margin: 1.5rem 0 1rem 0;
  font-size: 1.2rem;
  color: var(--primary-orange);
  border-left: 3px solid var(--primary-orange);
  padding-left: 1rem;
}

.topic-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid var(--primary-orange);
}

.topic-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.topic-payment-amount {
  font-size: 0.9rem;
  color: var(--primary-orange);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;

  .sats-received {
    color: #666;
    font-weight: 600;
  }
}


.topic-name {
  font-weight: 500;
  color: #333;
}

.topic-payment-count {
  font-size: 0.9rem;
  color: #666;
  text-align: right;
}

/* Sats/BTC Toggle Styles */
.sats-btc-toggle {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--primary-orange);
  border-radius: 34px;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 5px;
  top: 0px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
}

.switch input:checked + .slider {
  background-color: #222;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.toggle-label {
  font-weight: 600;
  color: #888;
  user-select: none;
}

.toggle-label-sats {
  margin-left: 1.4em;
  color: var(--primary-orange);
}

.toggle-label-btc {
  margin-right: 0.5em;
  color: #222;
}

/* Payout Success Animation */
@keyframes payout-success-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(247, 147, 26, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(247, 147, 26, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(247, 147, 26, 0);
  }
}

@keyframes payout-screen-flash {
  0% {
    background-color: rgba(247, 147, 26, 0);
  }
  10% {
    background-color: rgba(247, 147, 26, 0.1);
  }
  20% {
    background-color: rgba(247, 147, 26, 0);
  }
  30% {
    background-color: rgba(247, 147, 26, 0.05);
  }
  40% {
    background-color: rgba(247, 147, 26, 0);
  }
  100% {
    background-color: rgba(247, 147, 26, 0);
  }
}

@keyframes payout-lightning-strike {
  0% {
    transform: scale(1) translateX(0);
    color: #ffe066;
    text-shadow: 0 0 0px #ffe066;
  }
  10% {
    transform: scale(1.2) translateX(-2px) rotate(-2deg);
    color: #fff700;
    text-shadow: 0 0 8px #ffe066, 0 0 16px #fff700;
  }
  20% {
    transform: scale(1.1) translateX(2px) rotate(2deg);
    color: #ffe066;
    text-shadow: 0 0 12px #ffe066, 0 0 24px #fff700;
  }
  30% {
    transform: scale(1.3) translateX(-3px) rotate(-3deg);
    color: #fff700;
    text-shadow: 0 0 16px #ffe066, 0 0 32px #fff700;
  }
  40% {
    transform: scale(1.1) translateX(3px) rotate(3deg);
    color: #ffe066;
    text-shadow: 0 0 12px #ffe066, 0 0 24px #fff700;
  }
  50% {
    transform: scale(1.2) translateX(-2px) rotate(-2deg);
    color: #fff700;
    text-shadow: 0 0 8px #ffe066, 0 0 16px #fff700;
  }
  60% {
    transform: scale(1) translateX(2px) rotate(2deg);
    color: #ffe066;
    text-shadow: 0 0 0px #ffe066;
  }
  100% {
    transform: scale(1) translateX(0);
    color: inherit;
    text-shadow: none;
  }
}

@keyframes payout-success-slide-in {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes payout-success-icon-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.payout-success-animation {
  animation: payout-success-slide-in 0.6s ease-out, payout-success-pulse 2s ease-in-out 0.6s;
}

.payout-screen-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  pointer-events: none;
  animation: payout-screen-flash 1s ease-out;
}

.payout-success-animation i {
  animation: payout-success-icon-bounce 1s ease-in-out 0.8s;
}

.payout-lightning-effect {
  animation: payout-lightning-strike 0.7s cubic-bezier(.23,1.5,.32,1) both;
}

/* Payout Amount Animation */
@keyframes payout-amount-update {
  0% {
    transform: scale(1);
    color: #666;
  }
  50% {
    transform: scale(1.1);
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
  }
  100% {
    transform: scale(1);
    color: #666;
  }
}

.payout-amount-updated {
  animation: payout-amount-update 1s ease-in-out;
}

/* Payout Notification */
.payout-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.3em;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(247, 147, 26, 0.4);
  opacity: 0;
  animation: payout-notification-slide-in 0.6s ease-out forwards;
  text-align: center;
  min-width: 300px;
}

@keyframes payout-notification-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-100%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Socratic Seminar Form Styles */
.seminar-form {
  max-width: 700px;
  /* margin: 0.5rem 0; */
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seminar-form h1 {
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.8rem;
  text-align: left;
}

.seminar-form .field {
  margin-bottom: 1.5rem;
}

.seminar-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
}

.seminar-form input[type="text"],
.seminar-form input[type="number"],
.seminar-form input[type="date"],
.seminar-form input[type="email"],
.seminar-form input[type="url"],
.seminar-form textarea,
.seminar-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background-color: white;
}

.seminar-form input[type="text"]:focus,
.seminar-form input[type="number"]:focus,
.seminar-form input[type="date"]:focus,
.seminar-form input[type="email"]:focus,
.seminar-form textarea:focus,
.seminar-form select:focus {
  border-color: var(--primary-orange);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.seminar-form .field.seminar-number input[type="number"] {
  max-width: 200px;
}

.seminar-form .actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.seminar-form .button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.seminar-form .button:hover {
  transform: translateY(-1px);
}

/* Error Styles */
.seminar-form #error_explanation {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 4px;
}

.seminar-form #error_explanation h2 {
  margin-bottom: 1rem;
  color: #c53030;
  font-size: 1rem;
  font-weight: 500;
}

.seminar-form #error_explanation ul {
  margin-left: 1rem;
  color: #c53030;
  list-style-type: disc;
}

.seminar-form input[type="text"].field_with_errors,
.seminar-form input[type="number"].field_with_errors,
.seminar-form input[type="date"].field_with_errors,
.seminar-form textarea.field_with_errors,
.seminar-form select.field_with_errors {
  border-color: #c53030;
}

/* Field Hints */
.seminar-form .field-hint {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
  font-style: italic;
}

/* Section Form Styles */
.section-form {
  max-width: 700px;
  margin: 0.5rem 0;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-form h1 {
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.8rem;
  text-align: left;
}

.section-form .field {
  margin-bottom: 1.5rem;
}

.section-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
}

.section-form input[type="text"],
.section-form input[type="number"],
.section-form input[type="date"],
.section-form input[type="email"],
.section-form input[type="url"],
.section-form textarea,
.section-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background-color: white;
}

.section-form input[type="text"]:focus,
.section-form input[type="number"]:focus,
.section-form input[type="date"]:focus,
.section-form input[type="email"]:focus,
.section-form textarea:focus,
.section-form select:focus {
  border-color: var(--primary-orange);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.section-form .actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.section-form .button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.section-form .button:hover {
  transform: translateY(-1px);
}

/* Error Styles */
.section-form #error_explanation {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 4px;
}

.section-form #error_explanation h2 {
  margin-bottom: 1rem;
  color: #c53030;
  font-size: 1rem;
  font-weight: 500;
}

.section-form #error_explanation ul {
  margin-left: 1rem;
  color: #c53030;
  list-style-type: disc;
}

.section-form input[type="text"].field_with_errors,
.section-form input[type="number"].field_with_errors,
.section-form input[type="date"].field_with_errors,
.section-form textarea.field_with_errors,
.section-form select.field_with_errors {
  border-color: #c53030;
}

/* Field Hints */
.section-form .field-hint {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.875rem;
  font-style: italic;
}

/* Delete Action Styling */
.delete-action {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}
