/* ==========================================================================
   HERELIES Memorial Form - Enhanced CSS with !important overrides
   ========================================================================== */
.alert-info {
  background: linear-gradient(90deg, #0062cc, #6610f2);
  color: #fff;
  font-weight: 500;
}
/* Fix admin-dashboard.css override ONLY inside service selection tiles */
.service-tile i,
.service-tile div,
.service-tile span {
    color: #000 !important;   /* your original text color */
}

/* When tile is selected (checked) – style cleanly */
.form-check-card input:checked + .service-tile {
    border: 2px solid #2563eb !important;     /* blue border */
    background: #f0f7ff;                      /* light blue bg (optional) */
    color: #000 !important;
}

.wizard-step.form-check-card input:checked + .service-tile i,
.wizard-step.form-check-card input:checked + .service-tile div {
    color: #000 !important;  /* icon + text remain dark, not white */
}

/* === HERELIES FIX: Ensure Step 1 is visible in edit mode === */
/* body.edit-mode .wizard-step[data-step="1"],
body.edit-mode .wizard-step.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
} */

/* body.edit-mode #memorial-form,
body.edit-mode .herelies-wizard,
body.edit-mode .wizard-step .card {
  opacity: 1 !important;
  visibility: visible !important;
} */
/* 24-12-2025 */
/* ==============================
   SERVICE GROUP (SAFE)
============================== */


.herelies-service-group .service-group-card {
    display: block;
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: #111827; /* BLACK */
    transition: all 0.2s ease;
}

.herelies-service-group .service-group-card .title {
    color: #111827;
    font-weight: 600;
}

/* Selected */
.herelies-service-group input:checked + .service-group-card {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    border-color: transparent;
}

.herelies-service-group input:checked + .service-group-card .title {
    color: #ffffff;
}

/* 24-12-2025 */
/* Base Wrapper */
.herelies-wizard {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.herelies-form-wrapper {
    color: #223 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
/* --- Select2 Base Styles --- */
.form-wizard .select2-container {
  max-width: 100% !important;
  width: 0px !important;
  position: relative;
  z-index: 1;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  height: 38px;
  display: flex;
  align-items: center;
  background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-left: 12px;
  color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d;
}

/* --- Dropdown Positioning --- */
.select2-dropdown {
  position: absolute !important;
  z-index: 999999 !important;
  background-color: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 4px;
}

.select2-dropdown--above {
  margin-top: 0;
  margin-bottom: 4px;
}

/* --- Results Container --- */
.select2-results {
  max-height: 300px;
  overflow-y: auto;
}

.select2-results__option {
  padding: 8px 12px;
  cursor: pointer;
}

.select2-results__option--highlighted {
  background-color: #5470f2 !important;
  color: white !important;
}

.select2-results__option--selected {
  background-color: #e9ecef;
}

/* --- Search Field --- */
.select2-search--dropdown {
  padding: 8px;
}

.select2-search__field {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  outline: none;
}

.select2-search__field:focus {
  border-color: #5470f2;
  box-shadow: 0 0 0 0.2rem rgba(84, 112, 242, 0.25);
}

/* --- Wizard Step Compatibility --- */
.wizard-step {
  position: relative;
  overflow: visible !important;
}

/* --- Focus State --- */
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #5470f2;
  box-shadow: 0 0 0 0.2rem rgba(84, 112, 242, 0.25);
}

/* --- Disabled State --- */
.select2-container--default .select2-selection--single.select2-selection--disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
}
/* Compact Cards Enhancement */
.compact-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    border: 1px solid #e9ecef !important;
    border-radius: 0.75rem !important;
}

.compact-card .card-header {
    padding: 0.75rem !important;
    font-size: 0.85rem !important;
}

.compact-card .card-body {
    padding: 0.75rem !important;
}
/* ---------- Story Counter Styling ---------- */
#story-counter {
  font-size: 14px;          /* Desktop default */
  margin-top: 4px;
  line-height: 1.4;
  display: block;
  color: var(--bs-secondary-color, #6c757d); /* fallback for Bootstrap gray */
  transition: color 0.2s ease, font-size 0.2s ease;
}

/* When JS adds text-danger */
#story-counter.text-danger {
  color: #dc3545 !important;
  font-weight: 500;
}
#cause-counter {
  font-size: 13px;
  margin-top: 3px;
  line-height: 1.4;
  display: block;
}

/* Responsive fine-tuning */
@media (max-width: 768px) {
  #cause-counter { font-size: 12px; margin-top: 2px; }
}

/* ---------- Tablet (landscape / portrait) ---------- */
@media (max-width: 1024px) {
  #story-counter {
    font-size: 13px;
    margin-top: 3px;
  }
}

/* ---------- Mobile portrait ---------- */
@media (max-width: 768px) {
  #story-counter {
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.3;
  }
}

/* ---------- Mobile landscape (small screens wide) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  #story-counter {
    font-size: 11.5px;
    margin-top: 2px;
    opacity: 0.85;
  }
}


/* Responsive Card Hiding */
@media (max-width: 1199px) {
    #progress-summary-card,
    #quick-nav-card,
    #save-draft-card {
        display: none !important;
    }
}

/* Gradient Header */
.herelies-form-wrapper .wizard-header {
    background: linear-gradient(135deg, var(--herelies-primary, #001e5e) 0%, var(--herelies-accent, #B22234) 100%) !important;
    color: #fff !important;
    padding: 1.75rem !important;
    border-radius: 1rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18) !important;
    border: none !important;
}

.herelies-form-wrapper .wizard-header h2 {
    color: #fff !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    /* font-size: 2.29rem !important; */
    font-size: 32px !important;
}

.herelies-form-wrapper .wizard-header p {
    color: #fff !important;
    opacity: 0.9 !important;
    margin-bottom: 0 !important;
    /* font-size: 1.39rem !important; */
    font-size: 16px !important;
}

/* Progress Bar & Stepper */
.herelies-form-wrapper .progress {
    height: 10px !important;
    border-radius: 999px !important;
    background-color: #e9ecef !important;
    overflow: hidden !important;
}

.herelies-form-wrapper .progress-bar {
    background: linear-gradient(135deg, var(--herelies-primary, #001e5e) 0%, var(--herelies-accent, #B22234) 100%) !important;
    border-radius: 999px !important;
    transition: width 0.3s ease !important;
}

.herelies-form-wrapper .wizard-steps {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.herelies-form-wrapper .wizard-steps .step-circle {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #6c757d !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    border: 3px solid #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    margin: 0 auto !important;
    font-size: 15px !important;
}

.herelies-form-wrapper .wizard-steps .step-item.active .step-circle {
    background: #1e7e34 !important;
    transform: scale(1.1) !important;
}

.herelies-form-wrapper .wizard-steps .step-item.complete .step-circle {
    background: #0d6efd !important;
}

.herelies-form-wrapper .wizard-steps .step-label {
    color: #6c757d !important;
    font-size: 1.65rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin-top: 0.5rem !important;
}

/* Cards & Section Headers */
.herelies-form-wrapper .card {
    border: none !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
}

.herelies-form-wrapper .section-header,
.herelies-form-wrapper .card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 1.5rem !important;
    border-radius: 1rem 1rem 0 0 !important;
}

.herelies-form-wrapper .section-header h4,
.herelies-form-wrapper .card-header h4,
.herelies-form-wrapper .section-header h5,
.herelies-form-wrapper .card-header h5 {
    color: #fff !important;
    font-weight: 700 !important;
    margin: 0 !important;
    font-size: 24px !important;
}

.herelies-form-wrapper .card-body {
    padding: 2rem !important;
    background: #fff !important;
}

/* Review Section Cards */
.herelies-form-wrapper .review-section-card {
    border: 2px solid #e9ecef !important;
    border-radius: 1rem !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.herelies-form-wrapper .review-section-header {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
    border: none !important;
    margin: 0 !important;
    /* font-size: 1.1rem !important; */
    font-size: 16px !important;
    font-weight: 600 !important;
}

.herelies-form-wrapper .review-section-body {
    padding: 1.5rem !important;
    background: #fff !important;
}

.herelies-form-wrapper .review-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #f1f3f5 !important;
    font-size: 15px !important;
}

.herelies-form-wrapper .review-item:last-child {
    border-bottom: none !important;
}
.list-unstyled{
    font-size: 15px !important;
}
.herelies-form-wrapper .review-item strong {
    color: #374151 !important;
    font-weight: 600 !important;
    min-width: 120px !important;
}

.herelies-form-wrapper .review-item span {
    color: #6c757d !important;
    flex: 1 !important;
    text-align: right !important;
}

.herelies-form-wrapper .service-detail {
    background: #f8f9fa !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    border-left: 4px solid #3b82f6 !important;
}

/* Form Controls */
.herelies-form-wrapper .form-control,
.herelies-form-wrapper .form-select {
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    /* font-size: 1rem !important; */
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
}

.herelies-form-wrapper .form-control-lg {
    padding: 1rem 1.25rem !important;
    /* font-size: 1.43rem !important; */
    font-size: 16px !important;
    border-radius: 0.75rem !important;
}

.herelies-form-wrapper .form-control:focus,
.herelies-form-wrapper .form-select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

.herelies-form-wrapper .form-control.is-invalid,
.herelies-form-wrapper .form-select.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 5.8l1.4 1.4M7.2 5.8L5.8 7.2'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) !important;
}

.herelies-form-wrapper .form-control.is-valid,
.herelies-form-wrapper .form-select.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.4-.4L1.4 4.5l-.4.4L.9 4.8c-.3-.3-.6-.6-.6-1s.3-.7.6-1l.5-.5L0 .9l1.4-1.4L2.8.9l.5.5c.4.4.7.7 1 .7s.6-.3 1-.7l.5-.5L7.2.9 8.6 2.3 7.2 3.7l-.5-.5c-.4-.4-.7-.7-1-.7s-.6.3-1 .7l-.5.5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) !important;
}

/* Enhanced Flatpickr Styling */
.herelies-form-wrapper .date-field {
    position: relative !important;
}

.herelies-form-wrapper .flatpickr-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6c757d !important;
    pointer-events: none !important;
    z-index: 5 !important;
    font-size: 1rem !important;
}

.herelies-form-wrapper .date-field:focus + .flatpickr-icon {
    color: #3b82f6 !important;
}

.herelies-form-wrapper .flatpickr-input[readonly] {
    cursor: pointer !important;
    background-color: #fff !important;
}

/* Labels */
.herelies-form-wrapper .form-label {
    color: #374151 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    /* font-size: 1.45rem !important; */
    font-size: 16px Im !important;
}

.herelies-form-wrapper .form-label.fw-semibold {
    font-weight: 600 !important;
    font-size: 20px !important;
}

/* Service Tiles */
.herelies-form-wrapper .form-check-card {
    margin-bottom: 1rem !important;
}

.herelies-form-wrapper .form-check-card .form-check-input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
label.inline, input[type="checkbox"] + label{
    display: block !important;
}
.form-check-card .form-check-input:checked + .form-check-label {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}
.herelies-form-wrapper .service-tile,
.herelies-form-wrapper .form-check-card .form-check-label.card {
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.herelies-form-wrapper .service-tile:hover,
.herelies-form-wrapper .form-check-card .form-check-label.card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: #3b82f6 !important;
}

.herelies-form-wrapper .service-tile .card-body i {
    color: #3b82f6 !important;
    font-size: 2rem !important;
}
 .herelies-form-wrapper .form-check-card  .form-check-card .form-check-label {
            cursor: pointer;
            border: 2px solid #e9ecef;
            border-radius: 0.75rem;
            transition: all 0.3s ease;
            margin-bottom: 0;
        }

      .herelies-form-wrapper .form-check-card   .form-check-card .form-check-input:checked + .form-check-label {
            border-color: #0d6efd;
            background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
        }
.herelies-form-wrapper .form-check-card  .form-check-input.is-valid, .was-validated .form-check-input:valid {
    border-color: var(--bs-form-valid-border-color);
}
.herelies-form-wrapper .form-check-card .form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: var(--bs-form-valid-color);
    color:#1e7e34 !important;
}
/* .herelies-form-wrapper .form-check-card .form-check-input:checked + .service-tile,
.herelies-form-wrapper .form-check-card .form-check-input:checked + .form-check-label.card {
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, .15) !important;
    transform: translateY(-2px) !important;
    border-color: #3b82f6 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
}

.herelies-form-wrapper .form-check-card .form-check-input:checked + .form-check-label.card .card-body i {
    color: #fff !important;
}

.herelies-form-wrapper .form-check-card .form-check-input:checked + .form-check-label.card .fw-semibold,
.herelies-form-wrapper .form-check-card .form-check-input:checked + .form-check-label.card small {
    color: #fff !important;
} */

/* Status Cards */
.herelies-form-wrapper .status-card {
    display: block !important;
    text-align: center !important;
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem 1rem !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
}

.herelies-form-wrapper .status-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: #3b82f6 !important;
    text-decoration: none !important;
}

.herelies-form-wrapper .status-card i {
    font-size: 24px !important;
    color: #3b82f6 !important;
    margin-bottom: 0.5rem !important;
}

.herelies-form-wrapper .status-card .title {
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
}

.herelies-form-wrapper .status-card .hint {
    /* font-size: 0.85rem !important; */
    font-size: 14px !important;
    color: #6c757d !important;
}

.herelies-form-wrapper input[type=radio]:checked + .status-card {
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, .2) !important;
    border-color: #3b82f6 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

.herelies-form-wrapper input[type=radio]:checked + .status-card i,
.herelies-form-wrapper input[type=radio]:checked + .status-card .title,
.herelies-form-wrapper input[type=radio]:checked + .status-card .hint {
    color: #fff !important;
}

/* Subcards (Service Details) */
.herelies-form-wrapper .subcard {
    border-radius: 0.75rem !important;
    border: 1px solid #e9ecef !important;
    margin-bottom: 1rem !important;
}

.herelies-form-wrapper .subcard .card-header {
    background: #f8f9fb !important;
    color: #374151 !important;
    border-bottom: 1px solid #e9ecef !important;
}

/* Repeater Items */
.herelies-form-wrapper .repeater-item,
.herelies-form-wrapper .award-item,
.herelies-form-wrapper .family-item {
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    background: #f8f9fa !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
}

.herelies-form-wrapper .repeater-item:hover,
.herelies-form-wrapper .award-item:hover,
.herelies-form-wrapper .family-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

.herelies-form-wrapper .remove-award,
.herelies-form-wrapper .remove-family {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    border: none !important;
    background: transparent !important;
    color: #dc3545 !important;
    text-decoration: none !important;
}

.herelies-form-wrapper .remove-award:hover,
.herelies-form-wrapper .remove-family:hover {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
    border-radius: 0.25rem !important;
    text-decoration: none !important;
}

/* Upload Area */
.herelies-form-wrapper .upload-area {
    border: 2px dashed #cfd6df !important;
    border-radius: 1rem !important;
    text-align: center !important;
    padding: 3rem 2rem !important;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f3f5 100%) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
}

.herelies-form-wrapper .upload-area:hover,
.herelies-form-wrapper .upload-area.drag-over {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f1ff 100%) !important;
    border-color: var(--herelies-primary, #001e5e) !important;
    transform: translateY(-2px) !important;
}

.herelies-form-wrapper .upload-icon {
    font-size: 2.5rem !important;
    color: var(--herelies-primary, #001e5e) !important;
    margin-bottom: 1rem !important;
}

.herelies-form-wrapper .upload-area p {
    color: #374151 !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

.herelies-form-wrapper .upload-area small {
    color: #6c757d !important;
}

.herelies-form-wrapper .upload-area a {
    color: var(--herelies-primary, #001e5e) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.herelies-form-wrapper .upload-area a:hover {
    text-decoration: underline !important;
}

/* Enhanced Photo Preview */
.herelies-form-wrapper .photo-preview {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

.herelies-form-wrapper .preview-item {
    position: relative !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.herelies-form-wrapper .preview-item:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}
.herelies-form-wrapper .photo-preview img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    border: 2px solid #e9ecef !important;
    box-shadow: none !important; /* Remove duplicate shadow */
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: block !important;
}

.herelies-form-wrapper .photo-preview img:hover {
    border-color: #3b82f6 !important;
}
.herelies-form-wrapper .remove-photo {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    line-height: 1 !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important; /* Add white border */
    background: rgba(220, 53, 69, 0.95) !important;
    color: white !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    display: flex !important; /* Center the × symbol */
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important; /* Add shadow */
}
.herelies-form-wrapper .remove-photo:hover {
    background: rgba(220, 53, 69, 1) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
    border-color: rgba(255, 255, 255, 1) !important;
}

/* .herelies-form-wrapper .badge-primary-photo {
    position: absolute;
    top: 6px ;
    left: 6px;
    background: #0d6efd;
    color: #fff !important;
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
    border-radius: 0.35rem !important;
    font-weight: 600 !important;
    z-index: 5 !important;
} */
/* Fix Primary Badge Position - Move to TOP-RIGHT */
.herelies-form-wrapper .preview-item .badge.bg-success {
    position: absolute !important;
    top: 5px !important; /* Changed from bottom-0 */
    left: 5px !important; /* Changed from start-0 to left */
    right: auto !important; /* Override any right positioning */
    bottom: auto !important; /* Override any bottom positioning */
    background: rgba(40, 167, 69, 0.95) !important;
    color: white !important;
    font-size: 11px !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    z-index: 5 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Alternative: If you want Primary badge on TOP-RIGHT instead of TOP-LEFT */
.herelies-form-wrapper .preview-item .badge-primary-alternative {
    position: absolute !important;
    top: 5px !important;
    right: 35px !important; /* Leave space for remove button */
    left: auto !important;
    bottom: auto !important;
    background: rgba(40, 167, 69, 0.95) !important;
    color: white !important;
    font-size: 11px !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    z-index: 5 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
/* TIF File Type Indicator Badge */
.herelies-form-wrapper .preview-item .badge.bg-info {
    position: absolute !important;
    top: 5px !important;
    right: 35px !important; /* Leave space for remove button */
    background: rgba(13, 202, 240, 0.95) !important;
    color: white !important;
    font-size: 10px !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
    z-index: 5 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
/* Navigation */
.herelies-form-wrapper .wizard-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid #e9ecef !important;
}

/* Buttons */
.herelies-form-wrapper .btn {
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    /* padding: 0.75rem 1.5rem !important; */
    padding: 1rem 2rem !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-decoration: none !important;
}

.herelies-form-wrapper .btn-lg {
    padding: 1rem 2rem !important;
    /* font-size: 1.1rem !important; */
}

.herelies-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.herelies-form-wrapper .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
    color: #fff !important;
}

.herelies-form-wrapper .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.herelies-form-wrapper .btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    color: #fff !important;
}

.herelies-form-wrapper .btn-outline-secondary {
    background: transparent !important;
    color: #6c757d !important;
    border: 2px solid #6c757d !important;
}

.herelies-form-wrapper .btn-outline-secondary:hover {
    background: #6c757d !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.herelies-form-wrapper .btn-outline-primary {
    background: transparent !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
}

.herelies-form-wrapper .btn-outline-primary:hover {
    background: #3b82f6 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

/* Pricing Sticky Card */
.herelies-form-wrapper .pricing-card {
    position: sticky !important;
    top: 1rem !important;
    background: #fff !important;
    border: 2px solid #e9ecef !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.herelies-form-wrapper .pricing-card .card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Enhanced Select2 Styling */
.herelies-form-wrapper .select2-container {
    width: 100% !important;
}

.herelies-form-wrapper .select2-container .select2-selection--single {
    /* height: calc(2.5rem + 4px) !important; */

    height: calc(3.8rem + 4px) !important;
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    background-color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.herelies-form-wrapper .select2-container .select2-selection--multiple {
    min-height: calc(2.5rem + 4px) !important;
    border: 2px solid #e9ecef !important;
    border-radius: 0.75rem !important;
    background-color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    padding: 0.375rem 0.75rem !important;
}

.herelies-form-wrapper .select2-container .select2-selection__rendered {
    line-height: calc(2.5rem) !important;
    padding-left: 0.75rem !important;
    padding-right: 2.5rem !important;
    color: #374151 !important;
    /* font-size: 1rem !important; */
    font-size: 16px !important;
}

.herelies-form-wrapper .select2-container .select2-selection__arrow {
    height: calc(2.5rem + 4px) !important;
    right: 0.75rem !important;
    top: 8px !important;
    width: 20px !important;
}

.herelies-form-wrapper .select2-container .select2-selection__arrow b {
    border-color: #6c757d transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    height: 0 !important;
    left: 50% !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
    position: absolute !important;
    top: 50% !important;
    width: 0 !important;
}

.herelies-form-wrapper .select2-container--focus .select2-selection,
.herelies-form-wrapper .select2-container--open .select2-selection {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

.herelies-form-wrapper .select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Select2 Dropdown */
.select2-dropdown {
    border: 2px solid #3b82f6 !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    background: #fff !important;
    margin-top: 2px !important;
}

.select2-results__option {
    padding: 0.75rem !important;
    font-size: 1rem !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
}

.select2-results__option:hover,
.select2-results__option--highlighted {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
}

.select2-results__option[data-selected="true"] {
    background: #f8f9fa !important;
    color: #3b82f6 !important;
    font-weight: 600 !important;
}

/* Select2 Multiple Selection Tags */
.herelies-form-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 0.375rem !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin: 0.125rem !important;
    padding: 0.25rem 0.5rem !important;
}

.herelies-form-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: bold !important;
    margin-right: 0.25rem !important;
}

.herelies-form-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffcccc !important;
}

/* Select2 Search Input */
.herelies-form-wrapper .select2-container--default .select2-search--inline .select2-search__field {
    border: none !important;
    outline: none !important;
    font-size: 1rem !important;
    padding: 0.25rem !important;
    margin: 0 !important;
    background: transparent !important;
}

.herelies-form-wrapper .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid #e9ecef !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    margin: 0.5rem !important;
    width: calc(100% - 1rem) !important;
}

.herelies-form-wrapper .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.125rem rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

/* Select2 No Results */
.select2-results__message {
    padding: 1rem !important;
    font-size: 0.95rem !important;
    color: #6c757d !important;
    text-align: center !important;
    font-style: italic !important;
}

/* Select2 with validation states */
.herelies-form-wrapper .is-invalid + .select2-container .select2-selection {
    border-color: #dc3545 !important;
}

.herelies-form-wrapper .is-valid + .select2-container .select2-selection {
    border-color: #198754 !important;
}

/* Validation Messages */
.herelies-form-wrapper .invalid-feedback,
.herelies-form-wrapper .valid-feedback {
    display: block !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    /* font-size: 0.875rem !important; */
    font-size: 14.2px !important;
    font-weight: 500 !important;
}

.herelies-form-wrapper .invalid-feedback {
    color: #dc3545 !important;
}

.herelies-form-wrapper .valid-feedback {
    color: #198754 !important;
}

.herelies-form-wrapper .invalid-feedback.d-block {
    display: block !important;
}

/* Typography */
.herelies-form-wrapper h1,
.herelies-form-wrapper h2,
.herelies-form-wrapper h3,
.herelies-form-wrapper h4,
.herelies-form-wrapper h5,
.herelies-form-wrapper h6 {
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.herelies-form-wrapper .lead {
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    color: #6c757d !important;
    line-height: 1.6 !important;
}

/* Animations */
.herelies-form-wrapper .wizard-step {
    display: none !important;
    animation: fadeInUp 0.4s ease !important;
}

.herelies-form-wrapper .wizard-step.active {
    display: block !important;
}
/* Photo Gallery Styles  */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.gallery-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.gallery-photo:hover img {
  transform: scale(1.05);
}

.gallery-photo.primary::after {
  content: 'Primary';
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(40, 167, 69, 0.9);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
}

.gallery-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 5px;
  font-size: 11px;
  text-align: center;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Block Animation */
.herelies-form-wrapper .service-block {
    animation: slideInDown 0.4s ease !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    border-radius: 5px !important;
}
.select2-results__option{
    font-size: 16px !important;
}
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================================================================
   DATE FIELD PLACEHOLDER STYLING
   ========================================================================== */

/* Date Input Placeholder Styling */
.herelies-form-wrapper .form-control.bootstrap-datepicker::placeholder {
    color: #6c757d !important;
    opacity: 0.7 !important;
    font-style: italic !important;
    font-size: 15px !important;
}

.herelies-form-wrapper .form-control.bootstrap-datepicker:focus::placeholder {
    color: #adb5bd !important;
    opacity: 0.8 !important;
}

/* ==========================================================================
   AUTOSUGGEST DROPDOWN CONFLICT FIXES
   ========================================================================== */

/* Autosuggest Dropdown Positioning Fix */
.herelies-form-wrapper .autosuggest-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 2px solid #3b82f6 !important;
    border-top: none !important;
    border-radius: 0 0 0.75rem 0.75rem !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    z-index: 1050 !important; /* Higher than Select2 */
    display: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    margin-top: 2px !important;
}

.herelies-form-wrapper .autosuggest-item {
    padding: 0.75rem !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f8f9fa !important;
    font-size: 16px !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
}

.herelies-form-wrapper .autosuggest-item:hover,
.herelies-form-wrapper .autosuggest-item.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    color: #fff !important;
}

.herelies-form-wrapper .autosuggest-item:last-child {
    border-bottom: none !important;
    border-radius: 0 0 0.75rem 0.75rem !important;
}

/* Autosuggest Wrapper */
.herelies-form-wrapper .autosuggest-wrapper {
    position: relative !important;
    width: 100% !important;
}

/* Prevent Select2 and Autosuggest conflicts */
.herelies-form-wrapper .autosuggest-field.select2-hidden-accessible {
    display: block !important; /* Override Select2 hiding */
}
/* =========================================================
   Fix: Datepicker Alignment & Font Rendering
   ========================================================= */
.datepicker td, .datepicker th{
  width: auto  !important;
  height: auto;
}

/* Hover style for day cells */
.datepicker td a:hover {
  background: var(--hl-navy);
  color: #fff !important;
}

/* ==========================================================================
   FIX: Service Selection tiles should NOT get gradient when checked
   Only status-card should get the gradient
   ========================================================================== */

/* Override: Service Selection tiles - checked state (light, not gradient) */
.herelies-form-wrapper .form-check-card .form-check-input:checked + .service-tile {
    background: #f0f7ff !important;
    border-color: #3b82f6 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2) !important;
}

/* Keep icons and text dark on selected service-tile */
.herelies-form-wrapper .form-check-card .form-check-input:checked + .service-tile i,
.herelies-form-wrapper .form-check-card .form-check-input:checked + .service-tile span,
.herelies-form-wrapper .form-check-card .form-check-input:checked + .service-tile div {
    color: #3b82f6 !important;
}

/* Override: Status cards KEEP the gradient when checked */
.herelies-form-wrapper input[type=radio]:checked + .status-card {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%) !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, .2) !important;
}

.herelies-form-wrapper input[type=radio]:checked + .status-card i,
.herelies-form-wrapper input[type=radio]:checked + .status-card .title,
.herelies-form-wrapper input[type=radio]:checked + .status-card .hint {
    color: #fff !important;
}

/* Neutralize the generic rule that was bleeding into service-tiles */
.herelies-form-wrapper .form-check-card .form-check-input:checked + .form-check-label.service-tile {
    background: #f0f7ff !important;
    color: #000 !important;
}
/* =========================================================
   PUBLIC NOTICE BAR
   ========================================================= */
.hl-notice-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #3C3B6E;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hl-notice-info-icon {
    color: #3C3B6E;
    font-size: 13px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 3px;
}

.hl-notice-content {
    flex: 1;
    min-width: 200px;
}

.hl-notice-title {
    margin: 0 0 3px !important;
   font-size: 13px !important;  /* was 12px */
    font-weight: 600 !important;
    color: #1e3a8a !important;
}

.hl-notice-pricing {
    margin: 0 0 3px !important;
 font-size: 13px !important;  /* was 11.5px */
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.hl-notice-pricing i {
    font-size: 12px; /* was 11px */
}

.hl-notice-pricing i.fa-shield-halved { color: #3C3B6E; }
.hl-notice-pricing i.fa-user          { color: #2E7D32; }

.hl-price-badge {
    font-weight: 700 !important;
    padding: 1px 7px !important;
    border-radius: 4px !important;
    font-size: 12px !important;  /* was 11px */
    color: #fff !important;
    display: inline-block !important;
}

.hl-price-military { background: #3C3B6E !important; }
.hl-price-civilian { background: #2E7D32 !important; }

.hl-divider {
    color: #d1d5db;
    font-size: 11px;
}

.hl-notice-delivery {
    margin: 0 !important;
     font-size: 13px !important;  /* was 11.5px */
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

.hl-notice-delivery i {
    color: #6b7280;
    font-size: 12px;
}

.hl-notice-delivery strong { color: #374151 !important; }

.hl-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    align-self: center;
}

.hl-notice-btn-primary {
    background: #3C3B6E !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 4px 12px !important;
    font-size: 12.5px !important;  /* was 11.5px */
    font-weight: 500 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.hl-notice-btn-primary:hover {
    background: #2d2c5e !important;
}

.hl-notice-btn-secondary {
    background: #f9fafb !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 5px !important;
    padding: 4px 10px !important;
   font-size: 12.5px !important;  /* was 11.5px */
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.hl-notice-btn-secondary:hover {
    background: #f3f4f6 !important;
    color: #374151 !important;
    text-decoration: none !important;
}

@media (max-width: 576px) {
    .hl-notice-actions {
        flex-direction: row;
        width: 100%;
    }
    .hl-notice-btn-primary,
    .hl-notice-btn-secondary {
        flex: 1 !important;
    }
}
/* ==========================================================================
   RESPONSIVE PHOTO PREVIEW ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .herelies-form-wrapper .photo-preview img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .herelies-form-wrapper .remove-photo {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
        top: 3px !important;
        right: 3px !important;
    }
    
    .herelies-form-wrapper .preview-item .badge.bg-success,
    .herelies-form-wrapper .preview-item .badge.bg-info {
        font-size: 9px !important;
        padding: 2px 4px !important;
        top: 3px !important;
    }
}

@media (max-width: 576px) {
    .herelies-form-wrapper .photo-preview img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .herelies-form-wrapper .remove-photo {
        width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .herelies-form-wrapper .card-body {
        padding: 1.5rem !important;
    }
    
    .herelies-form-wrapper .wizard-header {
        padding: 1.5rem !important;
    }
    
    .herelies-form-wrapper .wizard-steps .step-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .herelies-form-wrapper .upload-area {
        padding: 2rem 1rem !important;
    }

    .herelies-form-wrapper .review-section-body {
        padding: 1rem !important;
    }

    .herelies-form-wrapper .review-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .herelies-form-wrapper .review-item span {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    .herelies-form-wrapper .photo-preview {
        justify-content: center !important;
    }
    
    .herelies-form-wrapper .photo-preview img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .herelies-form-wrapper .service-detail {
        padding: 0.75rem !important;
    }
}
/* ============================================================
   TIF CONVERSION UX — added for live feedback
   ============================================================ */

/* Upload area dims + pulses while a TIF is converting */
.herelies-form-wrapper .upload-area.is-uploading {
    opacity: 0.55 !important;
    pointer-events: none !important;
    animation: hl-uploading-pulse 1.4s ease-in-out infinite !important;
    border-color: #0dcaf0 !important;
}
@keyframes hl-uploading-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13,202,240,0.35); }
    50%       { box-shadow: 0 0 0 8px rgba(13,202,240,0); }
}

/* Converting badge pulses on the thumbnail */
.herelies-form-wrapper .tif-converting-badge {
    animation: hl-badge-blink 1s step-start infinite !important;
    background: #fd7e14 !important;
    color: #fff !important;
}
@keyframes hl-badge-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Thumbnail overlay shimmer while converting */
.herelies-form-wrapper .preview-item.is-converting img {
    filter: brightness(0.75) saturate(0) !important;
}
.herelies-form-wrapper .preview-item.is-converting::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: hl-shimmer-sweep 1.2s linear infinite !important;
    border-radius: 0.5rem !important;
    pointer-events: none !important;
    z-index: 3 !important;
}
@keyframes hl-shimmer-sweep {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
