/* Schedule Meeting Page Specific Styles */

.schedule-hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.schedule-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  transform: rotate(15deg);
  animation: float 6s ease-in-out infinite;
}

/* Schedule Form Section */
.schedule-form-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e5e7eb 100%);
}

.schedule-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.form-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.form-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Form Styles */
.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.025em;
}

.form-input,
.form-select,
.form-textarea {
  padding: 1.25rem 1.5rem;
  border: 2px solid #cbd5e1;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
  width: 100%;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-weight: 500;
  color: var(--text-dark);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 
    0 0 0 3px rgba(30, 58, 138, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.form-input:hover:not(:focus),
.form-select:hover:not(:focus),
.form-textarea:hover:not(:focus) {
  border-color: #94a3b8;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-input[readonly] {
  background: var(--bg-light);
  color: var(--text-light);
  cursor: not-allowed;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Alternative Times */
.alternative-times {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alt-time-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Radio and Checkbox Groups */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 1.5rem;
  border: 3px solid #e2e8f0;
  border-radius: 15px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.radio-label:hover,
.checkbox-label:hover {
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
  transform: translateY(-2px);
}

.radio-label input[type="radio"]:checked + .radio-mark + i + *,
.radio-label input[type="radio"]:checked {
  color: var(--primary-color);
}

.radio-label input[type="radio"]:checked,
.checkbox-label input[type="checkbox"]:checked {
  & ~ * {
    color: var(--primary-color);
  }
}

.radio-label:has(input[type="radio"]:checked),
.checkbox-label:has(input[type="checkbox"]:checked) {
  border-color: var(--primary-color);
  background: rgba(30, 58, 138, 0.05);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  display: none;
}

.radio-mark,
.checkmark {
  width: 24px;
  height: 24px;
  border: 3px solid #cbd5e1;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkmark {
  border-radius: 6px;
}

.radio-label input[type="radio"]:checked + .radio-mark,
.checkbox-label input[type="checkbox"]:checked + .checkmark {
  border-color: var(--primary-color);
  background: var(--primary-color);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
  transform: scale(1.1);
}

.radio-mark::after,
.checkmark::after {
  content: '';
  position: absolute;
  display: none;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  display: block;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Platform Icons Styling */
.radio-label i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: #64748b;
  transition: color 0.3s ease;
}

.radio-label:hover i,
.radio-label input[type="radio"]:checked ~ i {
  color: var(--primary-color);
}

.radio-label input[type="radio"]:checked ~ i {
  color: var(--primary-color);
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--white);
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  width: 100%;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: block;
}

.submit-btn.loading span {
  display: none;
}

/* Meeting Info Sidebar */
.meeting-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.selected-meeting {
  border-left: 4px solid var(--accent-color);
}

.meeting-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.detail-item i {
  color: var(--primary-color);
  width: 16px;
}

.expectations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expectations-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.expectations-list i {
  color: var(--accent-color);
}

.available-hours {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
}

.help-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.help-link:hover {
  color: var(--accent-color);
}

/* Privacy Consent */
.privacy-consent {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.privacy-consent a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.privacy-consent a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  color: var(--text-light);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.modal-icon.success {
  background: linear-gradient(135deg, var(--accent-color), #059669);
  color: var(--white);
}

.modal-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.modal-btn.primary {
  background: var(--accent-color);
  color: var(--white);
}

.modal-btn.primary:hover {
  background: #059669;
  transform: translateY(-1px);
}

.modal-btn.secondary {
  background: var(--bg-light);
  color: var(--text-dark);
}

.modal-btn.secondary:hover {
  background: var(--border-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .schedule-hero {
    padding: 8rem 1rem 4rem;
  }

  .meeting-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .schedule-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-container {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .alt-time-group {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    padding: 2rem;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .schedule-hero {
    padding: 7rem 1rem 3rem;
  }

  .meeting-card {
    padding: 1.5rem;
  }

  .meeting-card .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .info-card {
    padding: 1.5rem;
  }
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: rotate(15deg) translateY(0px);
  }
  50% {
    transform: rotate(15deg) translateY(-20px);
  }
}
