/* =====================================================
   Speak At Our Events Page Styles
   Following PMhelp design system

   Color Palette:
   - #2C003C - Very dark purple (headings)
   - #636b75 - Gray (body text)
   - #5d007f - Deep purple (gradient start)
   - #9e2ff4 - Violet (gradient mid)
   - #de5af9 - Pink accent (gradient end)
   - #f8f8f8 - Light gray background
   ===================================================== */

/* Full-width section */
.speaker-hero,
.speaker-form-section {
  width: 100%;
  box-sizing: border-box;
}

/* ===================
   Hero Section
   =================== */
.speaker-hero {
  padding: 120px 24px 80px;
  text-align: center;
  position: relative;
}

.speaker-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.speaker-hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #2C003C;
  margin-bottom: 24px;
  line-height: 1.2;
  font-family: Satoshi, sans-serif;
}

.speaker-hero-subtitle {
  font-size: 16px;
  color: #636b75;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================
   Form Section
   =================== */
.speaker-form-section {
  padding: 80px 24px;
  background: #f8f8f8;
}

.speaker-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.speaker-form-title {
  font-size: 28px;
  font-weight: 700;
  color: #2C003C;
  margin-bottom: 8px;
  text-align: center;
  font-family: Satoshi, sans-serif;
}

.speaker-form-description {
  font-size: 15px;
  color: #636b75;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 32px;
}

/* ===================
   Form Fields
   =================== */
.speaker-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.speaker-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.speaker-form-group:last-of-type {
  margin-bottom: 0;
}

.speaker-form-row .speaker-form-group {
  margin-bottom: 0;
}

.speaker-form-label {
  font-size: 14px;
  font-weight: 500;
  color: #2C003C;
  margin-bottom: 8px;
  font-family: Satoshi, sans-serif;
}

.speaker-form-label .optional-tag {
  color: #9ca3af;
  font-weight: 400;
}

.speaker-form-input,
.speaker-form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  font-family: Satoshi, sans-serif;
  color: #2C003C;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.speaker-form-input:focus,
.speaker-form-textarea:focus {
  outline: none;
  border-color: #9e2ff4;
  box-shadow: 0 0 0 3px rgba(158, 47, 244, 0.15);
}

.speaker-form-input::placeholder,
.speaker-form-textarea::placeholder {
  color: #9ca3af;
}

.speaker-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===================
   Message Display
   =================== */
.speaker-message {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  font-family: Satoshi, sans-serif;
}

.speaker-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}

.speaker-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* ===================
   Submit Button
   =================== */
.speaker-submit-btn {
  width: auto;
  min-width: 200px;
  padding: 16px 48px;
  background: linear-gradient(123.77deg, #5d007f 10%, #9e2ff4 56%, #de5af9 100%);
  color: white;
  border: none;
  border-radius: 72px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Satoshi, sans-serif;
  box-shadow: 0 2px #8520da;
}

.speaker-submit-btn:hover:not(:disabled) {
  background: linear-gradient(123.77deg, #6d0090 10%, #ae3fff 56%, #e87aff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(133, 32, 218, 0.4);
}

.speaker-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.speaker-submit-btn .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: speakerSpin 0.8s linear infinite;
}

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

/* ===================
   Responsive Design
   =================== */
@media (max-width: 991px) {
  .speaker-hero-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .speaker-hero {
    padding: 100px 16px 60px;
  }

  .speaker-hero-title {
    font-size: 28px;
  }

  .speaker-form-section {
    padding: 60px 16px;
  }

  .speaker-form-wrapper {
    padding: 24px;
  }

  .speaker-form-title {
    font-size: 24px;
  }

  .speaker-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .speaker-submit-btn {
    width: 100%;
  }
}
