/* ============================================
   FEEDBACK PAGE CUSTOM STYLES
   ============================================ */

/* Feedback Area Styles */
.nc-feedback-area {
  background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
  padding: 120px 0;
}

.nc-appointments-inner-style {
  background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}

.nc-feedback-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nc-feedback-title-box {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #4CAF50;
}

.nc-feedback-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 1px;
}

.nc-feedback-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 400;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 1px;
}

/* Input Box Styles */
.nc-feedback-input-box {
  margin-bottom: 30px;
  text-align: left;
}

.nc-feedback-label {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 15px;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-family: "Roboto Condensed", sans-serif;
}

.nc-feedback-input,
.nc-feedback-textarea {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Roboto Condensed", sans-serif;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 0;
}

.nc-feedback-input:focus,
.nc-feedback-textarea:focus {
  outline: none;
  border-color: #4CAF50;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.nc-feedback-input::placeholder,
.nc-feedback-textarea::placeholder {
  color: #999;
}

.nc-feedback-textarea {
  resize: vertical;
  min-height: 120px;
}

/* File Upload Styles */
.nc-file-upload-wrapper {
  position: relative;
  border: 2px dashed #4CAF50;
  border-radius: 8px;
  padding: 30px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.nc-file-upload-wrapper:hover {
  background-color: rgba(76, 175, 80, 0.05);
  border-color: #45a049;
}

.nc-file-input {
  display: none;
}

.nc-file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 1px;
}

.nc-file-upload-label i {
  font-size: 32px;
  color: #4CAF50;
}

.nc-file-upload-label span {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.nc-file-upload-wrapper:hover .nc-file-upload-label i {
  color: #45a049;
}

.nc-file-upload-wrapper.active {
  background-color: rgba(76, 175, 80, 0.1);
  border-color: #45a049;
}

/* Image Preview Styles */
.nc-image-preview-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  min-height: 100px;
  display: none;
  align-items: center;
  justify-content: center;
}

.nc-image-preview-box.active {
  display: flex;
}

.nc-image-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CAPTCHA Styles */
.nc-captcha-box {
  text-align: left;
}

.nc-captcha-container {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #f9f9f9;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.nc-captcha-code {
  flex: 1;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #4CAF50;
  font-family: 'Courier New', monospace;
  user-select: none;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-captcha-refresh {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.nc-captcha-refresh:hover {
  background-color: #45a049;
  transform: rotate(180deg);
}

.nc-captcha-refresh:active {
  transform: rotate(180deg) scale(0.95);
}

/* Submit Button Styles */
.nc-btn-submit {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 14px 40px !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nc-btn-submit:hover {
  background-color: #45a049;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
}

.nc-btn-submit:active {
  transform: translateY(0);
}

/* Form Container Spacing */
.nc-feedback-form-wrap form {
  margin: 0;
}

.nc-feedback-form-wrap .row {
  margin-left: -12px;
  margin-right: -12px;
}

.nc-feedback-form-wrap [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* Error Message Styles */
.col-md-12 {
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nc-feedback-form-wrap {
    padding: 30px 20px;
  }

  .nc-breadcrumb-title {
    font-size: 32px;
  }

  .nc-feedback-title {
    font-size: 26px;
  }

  .nc-feedback-title-box {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .nc-file-upload-wrapper {
    padding: 20px;
  }

  .nc-file-upload-label i {
    font-size: 24px;
  }

  .nc-file-upload-label span {
    font-size: 13px;
  }

  .nc-captcha-code {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

@media (max-width: 576px) {
  .nc-feedback-form-wrap {
    padding: 20px 15px;
  }

  .nc-breadcrumb-title {
    font-size: 24px;
  }

  .nc-feedback-title {
    font-size: 20px;
  }

  .nc-feedback-subtitle {
    font-size: 14px;
  }

  .nc-feedback-input,
  .nc-feedback-textarea {
    font-size: 14px;
  }

  .nc-captcha-container {
    flex-direction: column;
    gap: 0;
  }

  .nc-captcha-code {
    width: 100%;
  }

  .nc-captcha-refresh {
    width: 100%;
  }

  .nc-btn-submit {
    width: 100%;
    padding: 12px 20px !important;
    font-size: 14px;
  }
}

/* Accessibility */
.nc-feedback-input:focus,
.nc-feedback-textarea:focus {
  outline-offset: 2px;
}

input[type="text"]:disabled,
textarea:disabled {
  background-color: #e8e8e8;
  cursor: not-allowed;
  color: #666;
}

/* Animation for form submission */
@keyframes formSubmit {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

.nc-btn-submit.submitting {
  animation: formSubmit 0.4s ease;
}
