  /* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

/* Modal Content */
.modal-content {
  background: #fff;
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 16px;
  padding: 24px;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 10px 40px rgba(255, 105, 180, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 105, 180, 0.1);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  background: #666;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #666;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-close:active {
  background: #e9ecef;
  transform: scale(0.95);
}

/* Form Group */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Form Textarea */
.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border: 1px solid rgba(252 10 10 / 40%);
  background: #fff5f9;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.form-textarea::placeholder {
  color: #999;
}

/* Captcha Group */
.captcha-group {
  display: flex;
  flex-direction: row;
/*  gap: 12px;*/
  align-items: center;
  width: 100%;
}

/* Form Input */
.form-input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border: 1px solid rgba(252 10 10 / 40%);
  background: #fff5f9;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* Captcha Image */
.captcha-image {
  width: 120px;
  height: 44px;
  flex-shrink: 0;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: cover;
}

.captcha-image:active {
  border-color: #FF69B4;
  transform: scale(0.98);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(to right, rgb(248 164 10 / 68%), #ff8fb3);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

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

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    width: 85%;
    padding: 20px;
  }
  
  .captcha-image {
    width: 100px;
    height: 40px;
  }
  
  .form-input {
    padding: 10px;
  }
}