
/* =====================================================
   SPONSORSHIP MODAL STYLES - SIMPLIFIED
   Add to your main.css or include as separate file
   ===================================================== */

/* Modal Container */
.sponsor-modal-content {
  border-radius: 20px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
}

/* Modal Header */
.sponsor-modal-header {
  background: linear-gradient(135deg, #ff834a 0%, #fc702f 100%);
  padding: 1.75rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.sponsor-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.sponsor-modal-header .modal-title {
  font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Form Inputs */
.sponsor-input {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: 'Kanit', sans-serif;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

.sponsor-input:focus {
  border-color: #5f80cf;
  box-shadow: 0 0 0 4px rgba(95, 128, 207, 0.15);
  background-color: #ffffff;
}

.sponsor-input:hover:not(:focus) {
  border-color: #ced4da;
  background-color: #ffffff;
}

.sponsor-input::placeholder {
  color: #adb5bd;
  font-weight: 300;
}

/* Form Labels */
.form-label {
  color: #495057;
  margin-bottom: 0.4rem;
}

/* Validation */
.sponsor-input.is-invalid {
  border-color: #dc3545;
}

.sponsor-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.invalid-feedback {
  font-size: 0.8rem;
}

/* Submit Button */
.sponsor-submit-btn {
  background: linear-gradient(135deg, #ff834a 0%, #fc702f 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 131, 74, 0.35);
  transition: all 0.3s ease;
}

.sponsor-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 131, 74, 0.45);
  color: white;
}

.sponsor-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Modal Footer */
.sponsor-modal-footer {
  background: linear-gradient(to top, #f8f9fa 0%, #ffffff 100%);
}

.sponsor-modal-footer .btn-outline-secondary {
  border-color: #dee2e6;
  color: #6c757d;
}

.sponsor-modal-footer .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  color: #495057;
}

/* Success State */
.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Loading State */
.btn-loading {
  display: inline-flex;
  align-items: center;
}

/* Responsive */
@media (max-width: 575.98px) {
  .sponsor-modal-content {
    border-radius: 16px 16px 0 0 !important;
    margin: 0;
  }
  
  .modal-dialog-centered {
    align-items: flex-end;
    margin: 0;
    min-height: 100%;
  }
  
  .modal-dialog {
    max-width: 100%;
    width: 100%;
  }
  
  .sponsor-modal-header {
    padding: 1.5rem;
  }
  
  .sponsor-modal-footer {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  
  .sponsor-modal-footer .btn {
    width: 100%;
  }
}

/* Modal Animation */
.modal.fade .sponsor-modal-content {
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.modal.show .sponsor-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Utility Classes */
.txt-orange {
  color: #ff834a !important;
}

.txt-blue {
  color: #5f80cf !important;
}

/* Force modal above ScrollSmoother */
.modal {
  position: fixed !important;
  z-index: 999999 !important;
}

.modal-backdrop {
  z-index: 999998 !important;
}