/**
 * SA Contact Form — Cosmic Dark Theme
 *
 * Beautiful cosmic-inspired contact form with glassmorphism,
 * animated background, and elegant styling.
 *
 * @package SA_Contact_Form
 * @since   1.0.0
 */

/* =========================================================================
   COSMIC WRAPPER & BACKGROUND
   ========================================================================= */
.sa-cf-cosmic-wrapper {
  position: relative;
  min-height: 100vh;
  padding: 60px 20px;
  background: radial-gradient(ellipse at center, #0f1b33 0%, #050b1a 60%, #020610 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  box-sizing: border-box;
}

.sa-cf-cosmic-wrapper *,
.sa-cf-cosmic-wrapper *::before,
.sa-cf-cosmic-wrapper *::after {
  box-sizing: border-box;
}

.sa-cf-cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Twinkling stars */
.sa-cf-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 15% 20%, #ffffff, transparent),
    radial-gradient(1px 1px at 25% 45%, #c8962e, transparent),
    radial-gradient(1px 1px at 35% 75%, #ffffff, transparent),
    radial-gradient(1px 1px at 45% 30%, #ffffff, transparent),
    radial-gradient(2px 2px at 55% 60%, #c8962e, transparent),
    radial-gradient(1px 1px at 65% 15%, #ffffff, transparent),
    radial-gradient(1px 1px at 75% 85%, #ffffff, transparent),
    radial-gradient(1px 1px at 85% 40%, #c8962e, transparent),
    radial-gradient(1px 1px at 95% 65%, #ffffff, transparent),
    radial-gradient(1px 1px at 8% 90%, #ffffff, transparent),
    radial-gradient(2px 2px at 20% 65%, #ffffff, transparent),
    radial-gradient(1px 1px at 40% 10%, #c8962e, transparent),
    radial-gradient(1px 1px at 60% 90%, #ffffff, transparent),
    radial-gradient(1px 1px at 80% 25%, #ffffff, transparent),
    radial-gradient(1px 1px at 90% 80%, #c8962e, transparent),
    radial-gradient(1px 1px at 5% 50%, #ffffff, transparent),
    radial-gradient(1px 1px at 50% 5%, #ffffff, transparent),
    radial-gradient(1px 1px at 30% 95%, #ffffff, transparent);
  background-size: 100% 100%;
  animation: sa-cf-twinkle 4s ease-in-out infinite alternate;
  opacity: 0.7;
}

@keyframes sa-cf-twinkle {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.9;
  }
}

/* Orbital rings */
.sa-cf-orbit {
  position: absolute;
  border: 1px solid rgba(200, 150, 46, 0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sa-cf-orbit-1 {
  width: 800px;
  height: 800px;
  animation: sa-cf-orbit-rotate 60s linear infinite;
}

.sa-cf-orbit-2 {
  width: 1000px;
  height: 1000px;
  border-color: rgba(59, 130, 246, 0.08);
  animation: sa-cf-orbit-rotate 90s linear infinite reverse;
}

@keyframes sa-cf-orbit-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Planets */
.sa-cf-planet {
  position: absolute;
  border-radius: 50%;
  animation: sa-cf-float 6s ease-in-out infinite;
}

.sa-cf-planet-1 {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #c8962e, #a67a1f);
  top: 30%;
  left: 24%;
  box-shadow: 0 0 20px rgba(200, 150, 46, 0.6);
  animation-delay: 0s;
}

.sa-cf-planet-2 {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6, #1b2a4a);
  top: 55%;
  right: 20%;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
  animation-delay: 2s;
}

.sa-cf-planet-3 {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #6b7280, #374151);
  top: 65%;
  right: 25%;
  box-shadow: 0 0 15px rgba(107, 114, 128, 0.5);
  animation-delay: 4s;
}

@keyframes sa-cf-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Sparkles */
.sa-cf-sparkle {
  position: absolute;
  color: rgba(200, 150, 46, 0.5);
  font-size: 20px;
  animation: sa-cf-sparkle-pulse 3s ease-in-out infinite;
}

.sa-cf-sparkle-1 {
  top: 15%;
  right: 12%;
  animation-delay: 0s;
}

.sa-cf-sparkle-2 {
  bottom: 15%;
  right: 8%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  animation-delay: 1s;
}

.sa-cf-sparkle-3 {
  top: 20%;
  right: 28%;
  color: rgba(255, 255, 255, 0.4);
  animation-delay: 2s;
}

.sa-cf-sparkle-4 {
  bottom: 25%;
  left: 25%;
  color: rgba(255, 255, 255, 0.4);
  animation-delay: 1.5s;
}

@keyframes sa-cf-sparkle-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* =========================================================================
   FORM CARD (Glassmorphism)
   ========================================================================= */
.sa-cf-cosmic-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  padding: 44px 48px;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.6) 0%, rgba(15, 27, 51, 0.5) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 150, 46, 0.25);
  border-radius: 24px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(200, 150, 46, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Contact Us Badge */
.sa-cf-cosmic-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 20px auto;
  padding: 8px 22px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(27, 42, 74, 0.4));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 150, 46, 0.3);
  border-radius: 20px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

/* Title */
.sa-cf-cosmic-title {
  text-align: center;
  color: #ffffff !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px;
}

/* Subtitle */
.sa-cf-cosmic-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 auto 32px auto !important;
  padding: 0 !important;
  max-width: 90%;
  font-weight: 400 !important;
}

/* =========================================================================
   FORM LAYOUT
   ========================================================================= */
.sa-cf-cosmic-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sa-cf-cosmic-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sa-cf-cosmic-field {
  position: relative;
}

.sa-cf-cosmic-field-full {
  grid-column: 1 / -1;
}

/* =========================================================================
   INPUT BOX WITH FLOATING LABEL
   ========================================================================= */
.sa-cf-cosmic-input-box {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.sa-cf-cosmic-input-box:hover {
  border-color: rgba(200, 150, 46, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.sa-cf-cosmic-input-box:focus-within {
  border-color: #c8962e;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(200, 150, 46, 0.15);
}

.sa-cf-cosmic-label {
  position: absolute;
  top: 14px;
  left: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 0 4px;
  z-index: 1;
}

/* Label floats up when input is focused or has value */
.sa-cf-cosmic-input-box:focus-within .sa-cf-cosmic-label,
.sa-cf-cosmic-input:not(:placeholder-shown) + .sa-cf-cosmic-icon + .sa-cf-cosmic-label,
.sa-cf-cosmic-input.sa-cf-has-value ~ .sa-cf-cosmic-label,
.sa-cf-cosmic-label.sa-cf-label-active {
  top: -8px;
  left: 12px;
  font-size: 11px;
  color: #c8962e;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, #0f1b33 40%, #0f1b33 100%);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Input Field */
.sa-cf-cosmic-input {
  width: 100%;
  padding: 22px 44px 8px 18px;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}

.sa-cf-cosmic-input::placeholder {
  color: transparent;
}

.sa-cf-cosmic-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Autofill styling */
.sa-cf-cosmic-input:-webkit-autofill,
.sa-cf-cosmic-input:-webkit-autofill:hover,
.sa-cf-cosmic-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px rgba(15, 27, 51, 0.001) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Input Icon */
.sa-cf-cosmic-icon {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color 0.25s;
}

.sa-cf-cosmic-input-box:focus-within .sa-cf-cosmic-icon {
  color: #c8962e;
}

/* Select Dropdown */
.sa-cf-cosmic-select {
  cursor: pointer;
  padding-right: 60px;
}

.sa-cf-cosmic-select option {
  background: #0f1b33;
  color: #ffffff;
  padding: 10px;
}

.sa-cf-cosmic-icon-select {
  right: 42px;
}

.sa-cf-cosmic-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.25s;
}

.sa-cf-cosmic-input-box:focus-within .sa-cf-cosmic-select-arrow {
  color: #c8962e;
  transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.sa-cf-cosmic-textarea-box {
  padding-bottom: 4px;
}

.sa-cf-cosmic-textarea {
  padding: 24px 18px 12px 18px !important;
  min-height: 120px;
  resize: vertical;
  font-family: inherit !important;
  line-height: 1.6 !important;
}

.sa-cf-cosmic-textarea-box .sa-cf-cosmic-label {
  top: 14px;
}

/* Error state */
.sa-cf-cosmic-field.sa-cf-has-error .sa-cf-cosmic-input-box {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.sa-cf-cosmic-field.sa-cf-has-error .sa-cf-cosmic-label {
  color: #ef4444 !important;
}

.sa-cf-cosmic-field.sa-cf-has-error .sa-cf-cosmic-icon {
  color: #ef4444;
}

.sa-cf-cosmic-error {
  display: block;
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
  padding-left: 4px;
  min-height: 16px;
  font-weight: 500;
}

/* Honeypot */
.sa-cf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* =========================================================================
   SUBMIT BUTTON
   ========================================================================= */
.sa-cf-cosmic-submit {
  position: relative;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(90deg, #3b82f6 0%, #c8962e 100%);
  border: none;
  border-radius: 50px;
  color: #1b2a4a;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  margin-top: 8px;
  box-shadow:
    0 8px 25px rgba(200, 150, 46, 0.25),
    0 4px 10px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.sa-cf-cosmic-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.sa-cf-cosmic-submit:hover::before {
  left: 100%;
}

.sa-cf-cosmic-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(200, 150, 46, 0.4),
    0 6px 15px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sa-cf-cosmic-submit:active {
  transform: translateY(0);
}

.sa-cf-cosmic-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.sa-cf-cosmic-btn-text,
.sa-cf-cosmic-btn-loader {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sa-cf-cosmic-spinner {
  animation: sa-cf-cosmic-spin 0.8s linear infinite;
}

@keyframes sa-cf-cosmic-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sa-cf-cosmic-submit.sa-cf-loading .sa-cf-cosmic-btn-text {
  display: none !important;
}

.sa-cf-cosmic-submit.sa-cf-loading .sa-cf-cosmic-btn-loader {
  display: inline-flex !important;
}

/* =========================================================================
   SUCCESS MODAL (Thank You Message)
   ========================================================================= */
.sa-cf-cosmic-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sa-cf-cosmic-modal.sa-cf-modal-visible {
  display: flex !important;
  animation: sa-cf-modal-fade-in 0.3s ease-out;
}

.sa-cf-cosmic-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 11, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sa-cf-cosmic-modal-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  padding: 50px 40px 40px 40px;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.95) 0%, rgba(15, 27, 51, 0.98) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 150, 46, 0.4);
  border-radius: 20px;
  text-align: center;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(200, 150, 46, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: sa-cf-modal-slide-in 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes sa-cf-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sa-cf-modal-slide-in {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.sa-cf-cosmic-modal.sa-cf-modal-closing {
  animation: sa-cf-modal-fade-out 0.3s ease-in forwards;
}

.sa-cf-cosmic-modal.sa-cf-modal-closing .sa-cf-cosmic-modal-content {
  animation: sa-cf-modal-slide-out 0.3s ease-in forwards;
}

@keyframes sa-cf-modal-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes sa-cf-modal-slide-out {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
}

.sa-cf-cosmic-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  padding: 0;
  font-family: inherit;
}

.sa-cf-cosmic-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

.sa-cf-cosmic-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px auto;
  background: linear-gradient(135deg, rgba(200, 150, 46, 0.2), rgba(59, 130, 246, 0.15));
  color: #c8962e;
  border-radius: 50%;
  border: 2px solid rgba(200, 150, 46, 0.3);
  animation: sa-cf-icon-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 40px rgba(200, 150, 46, 0.3);
}

@keyframes sa-cf-icon-bounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sa-cf-cosmic-modal-title {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  letter-spacing: -0.5px;
}

.sa-cf-cosmic-modal-message {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 28px 0 !important;
  padding: 0 !important;
}

/* Modal Timer */
.sa-cf-cosmic-modal-timer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sa-cf-cosmic-timer-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.sa-cf-cosmic-timer-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #c8962e);
  border-radius: 4px;
  transform-origin: left;
}

.sa-cf-cosmic-modal.sa-cf-modal-visible .sa-cf-cosmic-timer-bar::before {
  animation: sa-cf-timer-shrink 10s linear forwards;
}

@keyframes sa-cf-timer-shrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.sa-cf-cosmic-timer-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.sa-cf-cosmic-timer-count {
  color: #c8962e;
  font-weight: 700;
  font-size: 14px;
  margin: 0 2px;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 768px) {
  .sa-cf-cosmic-wrapper {
    padding: 40px 16px;
  }

  .sa-cf-cosmic-card {
    padding: 36px 28px;
    border-radius: 20px;
  }

  .sa-cf-cosmic-title {
    font-size: 26px !important;
  }

  .sa-cf-cosmic-subtitle {
    font-size: 13px !important;
    max-width: 100%;
  }

  .sa-cf-cosmic-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sa-cf-orbit-1 {
    width: 500px;
    height: 500px;
  }
  .sa-cf-orbit-2 {
    width: 650px;
    height: 650px;
  }

  .sa-cf-cosmic-modal-content {
    padding: 40px 24px 32px 24px;
  }

  .sa-cf-cosmic-modal-title {
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .sa-cf-cosmic-wrapper {
    padding: 30px 12px;
  }

  .sa-cf-cosmic-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .sa-cf-cosmic-title {
    font-size: 22px !important;
  }

  .sa-cf-cosmic-badge {
    font-size: 10px;
    padding: 6px 18px;
  }

  .sa-cf-cosmic-input {
    font-size: 15px !important;
    padding: 20px 40px 6px 16px;
  }

  .sa-cf-cosmic-label {
    font-size: 12px;
    left: 16px;
  }

  .sa-cf-cosmic-submit {
    padding: 16px 24px;
    font-size: 14px;
  }

  .sa-cf-cosmic-modal-icon {
    width: 72px;
    height: 72px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sa-cf-cosmic-wrapper *,
  .sa-cf-cosmic-wrapper *::before,
  .sa-cf-cosmic-wrapper *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Notice message shown after non-AJAX submit */
.sa-cf-notice-message {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.sa-cf-notice-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-left: 4px solid #10b981;
}
.sa-cf-notice-error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}
.sa-cf-notice-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-left: 4px solid #f59e0b;
}

/* =========================================================================
   CUSTOM FORM WRAPPER & MESSAGES
   ========================================================================= */
.sa-cf-custom-wrapper {
  position: relative;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

.sa-cf-custom-messages {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  line-height: 1.4;
  animation: sa-cf-message-slide-in 0.3s ease-out;
}

.sa-cf-custom-messages.sa-cf-message-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.sa-cf-custom-messages.sa-cf-message-error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.sa-cf-custom-messages.sa-cf-message-warning {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

@keyframes sa-cf-message-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
