/*
Theme Name: star
Description: Specific styles of the theme relative ti this website.
*/




/* Feedback Section */
.section.feedback-split {
  background: #0b0d0f;
  color: #e6e8eb;
  padding: 0;
}

.feedback-split .container,
.feedback-split .extended-container {
  width: 100%;
  margin: 0 auto;
  padding: 0%;
}

.feedback-split .cont-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  min-height: 100vh;
}

/* Left image column */
.feedback-split .split.left {
  background: url('/wp-content/uploads/2025/10/IMG_1569.webp') center/cover no-repeat;
  position: relative;
}

.feedback-split .split.left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
}

/* Right form column */
.feedback-split .split.right {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 32px;
}

.feedback-split .panel-logo {
  display: block;
  margin: 0 auto 16px;
  width: clamp(235px, 42%, 280px);
  height: auto;
}

.feedback-split .form-panel {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(199deg, #ffffff1a, #5e100f38 85%);
  border: 1px solid #1f242a;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  background: #EF3624;
}

.feedback-split .panel-title {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 1px;
  text-align: center;
  color: #FCDB81;
  font-family: 'Britsouth Sans';
}

.feedback-split .panel-footnote {
  margin-top: 18px;
  color: #9aa0a6;
  font-size: 14px;
}

/* Contact Form 7 styles */
.feedback-split .wpcf7 form {
  margin: 0;
}

.feedback-split .wpcf7 form p {
  margin: 0 0 14px;
}

.feedback-split .wpcf7 label {
  display: block;
  margin: 0 0 8px;
  color: #e6e8eb;
  font-weight: 500;
}

.feedback-split .wpcf7 input[type="text"],
.feedback-split .wpcf7 input[type="email"],
.feedback-split .wpcf7 input[type="tel"],
.feedback-split .wpcf7 select,
.feedback-split .wpcf7 textarea {
  width: 100%;
  color: #1e1e1f;
  background: #fcf5e3;
  border: none;
  border-radius: 12px;
  padding: 14px 14px;
  outline: none;
}

.feedback-split .wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.feedback-split .wpcf7 input::placeholder,
.feedback-split .wpcf7 textarea::placeholder {
  color: #1e1e1f67;
}

/* Focus states */
.feedback-split .wpcf7 input:focus,
.feedback-split .wpcf7 textarea:focus,
.feedback-split .wpcf7 select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .25);
}

/* Submit button */
.feedback-split .wpcf7 input[type="submit"] {
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 12px;
  background: #FCF5E3;
  color: #ef3624;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
}

/* input::placeholder,
.feedback-split .wpcf7 textarea::placeholder {
  color: #ffffff;
} */

.feedback-split .wpcf7 input[type="submit"]:hover {
  background: #FCDB81;
  border-color: #2d3640;
}

.feedback-split .wpcf7 input[type="submit"]:active {
  transform: translateY(1px);
}

/* Validation messages */
.feedback-split .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 6px;
}

.feedback-split .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed #232a32;
  background: rgba(28, 34, 40, 0.5);
  color: #e6e8eb;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #6dab3c;
  text-align: center;
}

.wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  text-align: center;
}

/* Keep the spinner centered inside the submit button */
.feedback-split .wpcf7 form p {
  position: relative;
}

.feedback-split .wpcf7 .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  pointer-events: none;
  z-index: 2;

  /* Circular ring */
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border-radius: 50%;
  background: transparent !important;
  border: 2px solid rgba(255, 204, 0, 0.25);
  border-top-color: #ffcc00;
  border-right-color: #ffcc00;
  border-left-color: transparent;
  animation: fry-ring-spin .65s linear infinite;
}

/* Hide button label while sending */
.feedback-split .wpcf7 form.submitting input[type="submit"] {
  color: transparent;
}

@keyframes fry-ring-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Remove built-in spinner completely */
.feedback-split .wpcf7 .wpcf7-spinner::before,
.feedback-split .wpcf7 .wpcf7-spinner:before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}

.wpcf7 form div.wpcf7-response-output,
.wpcf7 form div.wpcf7-validation-errors {
  color: #fcdb81;
}

/* Phones (<1023px) */
@media (max-width: 1023px) {
  .feedback-split .cont-wrap {
    grid-template-columns: 1fr;
  }

  .feedback-split .split.left {
    display: none;
  }

  .feedback-split .split.right {
    order: 0;
    /* padding: 10px; */
    padding: 0;

  }

  .feedback-split .form-panel {
    padding: 18px;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .feedback-split .panel-title {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .feedback-split .wpcf7 input,
  .feedback-split .wpcf7 select,
  .feedback-split .wpcf7 textarea {
    font-size: 16px;
    padding: 12px;
  }

  .feedback-split .wpcf7 input[type="submit"] {
    min-height: 48px;
  }
}

/* Tablets (≥1023px) */
@media (min-width: 1023px) {
  .feedback-split .split.left {
    display: block;
  }

  .feedback-split .split.right {
    order: 0;
  }

  /* If any earlier mobile rules set single column, restore two columns on tablets */
  .feedback-split .cont-wrap {
    grid-template-columns: 1fr 1fr;
  }
}