/* Moving Quote — Quote Page (Steps 2-4) */

.mq-quote-main {
    background: #f8f9fa;
    min-height: 80vh;
    padding: 0;
}

.mq-quote-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Stepper */
.mq-quote-header {
    margin-bottom: 32px;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mq-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
}

.mq-stepper::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.mq-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.mq-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.mq-step-indicator.active .mq-step-num {
    background: #1e3a8a;
    color: #fff;
}

.mq-step-indicator.completed .mq-step-num {
    background: #22c55e;
    color: #fff;
    font-size: 0;
}

.mq-step-indicator.completed .mq-step-num::after {
    content: '✓';
    font-size: 16px;
}

.mq-step-label {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    line-height: 1.3;
}

.mq-step-indicator.active .mq-step-label {
    color: #1e3a8a;
    font-weight: 600;
}

.mq-required-indicator {
    text-align: right;
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.mq-required {
    color: #f97316;
}

/* Form */
.mq-quote-form {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mq-step {
    display: none;
}

.mq-step.active {
    display: block;
}

.mq-step-content h2 {
    margin: 0 0 24px;
    font-size: 22px;
    color: #1f2937;
}

/* Navigation buttons */
.mq-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.mq-btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.mq-btn-prev {
    background: #fff;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
}

.mq-btn-prev:hover {
    background: #f3f4f6;
}

.mq-btn-next,
.mq-btn-submit {
    background: #1e3a8a;
    color: #fff;
    margin-left: auto;
}

.mq-btn-next:hover,
.mq-btn-submit:hover {
    background: #1e40af;
}

/* Loading */
.mq-loading {
    text-align: center;
    padding: 40px;
}

.mq-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #1e3a8a;
    border-radius: 50%;
    animation: mq-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes mq-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
    .mq-quote-form {
        padding: 20px;
    }
    
    .mq-step-label {
        font-size: 11px;
    }
    
    .mq-step-num {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .mq-step-nav {
        flex-direction: column-reverse;
    }
    
    .mq-btn-next,
    .mq-btn-submit {
        margin-left: 0;
    }
}

/* ============================
   Step 2 — Living Situation
   ============================ */

.mq-step-intro {
    color: #6b7280;
    margin: 0 0 24px;
    font-size: 14px;
}

/* Distance Visual */
.mq-distance-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 32px 0;
    padding: 0 20px;
}

.mq-house-icon {
    width: 110px;
    height: 110px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    padding: 8px;
    transition: all 0.3s;
    text-align: center;
    gap: 4px;
}

.mq-house-icon.has-selection {
    background: #eff6ff;
    border-color: #1e3a8a;
}

.mq-house-icon-symbol {
    font-size: 36px;
    color: #9ca3af;
    font-weight: 300;
    line-height: 1;
}

.mq-house-icon.has-selection .mq-house-icon-symbol {
    font-size: 32px;
    color: #1e3a8a;
}

.mq-house-icon-label {
    font-size: 11px;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.2;
    display: none;
}

.mq-house-icon.has-selection .mq-house-icon-label {
    display: block;
}

@media (max-width: 768px) {
    .mq-house-icon {
        width: 80px;
        height: 80px;
    }
    
    .mq-house-icon-symbol {
        font-size: 24px;
    }
    
    .mq-house-icon-label {
        font-size: 10px;
    }
}

.mq-distance-line {
    flex: 1;
    height: 2px;
    background: #93c5fd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mq-distance-line::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 10px solid #93c5fd;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.mq-distance-value {
    background: #fff;
    padding: 4px 12px;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.mq-distance-loading {
    color: #9ca3af;
    font-weight: 400;
    font-style: italic;
}

.mq-distance-error {
    color: #dc2626;
}

/* Address blocks side by side */
.mq-address-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mq-address-block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.mq-field {
    margin-bottom: 16px;
}

.mq-field:last-child {
    margin-bottom: 0;
}

.mq-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
}

.mq-input-with-icon {
    position: relative;
}

.mq-input-with-icon .mq-icon-location {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
}

.mq-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    box-sizing: border-box;
}

.mq-input-with-icon .mq-input {
    padding-left: 36px;
}

.mq-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.mq-input[readonly] {
    background: #fff;
    color: #1e3a8a;
    cursor: default;
}

.mq-address-fields-placeholder {
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .mq-address-blocks {
        grid-template-columns: 1fr;
    }
    
    .mq-distance-visual {
        padding: 0;
    }
    
    .mq-house-icon {
        width: 70px;
        height: 70px;
    }
    
    .mq-house-icon-symbol {
        font-size: 24px;
    }
}

/* Field rows (postal + house number side by side) */
.mq-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mq-field-row .mq-field {
    margin-bottom: 16px;
}

/* House type button */
.mq-house-type-btn {
    width: 100%;
    padding: 12px 14px;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.mq-house-type-btn:hover {
    background: #1e40af;
}

.mq-house-type-btn.has-selection {
    background: #1e3a8a;
}

.mq-house-type-label {
    text-align: left;
}

.mq-house-type-edit-icon {
    font-size: 14px;
    opacity: 0.8;
}

/* Select dropdown */
.mq-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}

/* Input with suffix (METER) */
.mq-input-with-suffix {
    position: relative;
    display: flex;
    align-items: stretch;
}

.mq-input-with-suffix .mq-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mq-input-suffix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-left: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
}

/* Responsive: stack postal/housenumber on small screens */
@media (max-width: 480px) {
    .mq-field-row {
        grid-template-columns: 1fr;
    }
}

/* ============================
   House Type Modal
   ============================ */

.mq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mq-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.6);
    backdrop-filter: blur(2px);
}

.mq-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.mq-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.mq-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
}

.mq-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.mq-house-type-list {
    display: flex;
    flex-direction: column;
}

/* Each house type option */
.mq-house-type-option {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}

.mq-house-type-option:last-child {
    border-bottom: none;
}

.mq-house-type-option:hover {
    background: #f9fafb;
}

.mq-house-type-option.selected {
    background: #fef3e8;
}

.mq-house-type-radio {
    flex-shrink: 0;
    margin-top: 4px;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.mq-house-type-option.selected .mq-house-type-radio {
    border-color: #f97316;
}

.mq-house-type-option.selected .mq-house-type-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #f97316;
    border-radius: 50%;
}

.mq-house-type-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mq-house-type-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mq-house-type-thumb-placeholder {
    color: #9ca3af;
    font-size: 32px;
}

.mq-house-type-info {
    flex: 1;
    min-width: 0;
}

.mq-house-type-name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.mq-house-type-desc {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Sub-fields appear when type is selected */
.mq-house-type-subfields {
    flex-basis: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: none;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.mq-house-type-option.selected .mq-house-type-subfields {
    display: flex;
}

.mq-subfield {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mq-subfield-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.mq-subfield select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    min-width: 160px;
}

.mq-subfield-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 16px;
}

.mq-subfield-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.mq-subfield-checkbox span {
    font-size: 14px;
    color: #374151;
}

/* Modal footer */
.mq-modal-footer {
    padding: 16px 24px;
    background: #faf6f0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
}

.mq-modal-footer .mq-btn {
    padding: 10px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.mq-btn-cancel {
    background: #fff;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
}

.mq-btn-cancel:hover {
    background: #f3f4f6;
}

.mq-btn-confirm {
    background: #f97316;
    color: #fff;
    border: none;
}

.mq-btn-confirm:hover {
    background: #ea580c;
}

/* Disable body scroll when modal open */
body.mq-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .mq-house-type-option {
        padding: 16px;
        gap: 12px;
    }
    
    .mq-house-type-thumb {
        width: 60px;
        height: 60px;
    }
}

/* ============================
   Section labels
   ============================ */
.mq-section-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 32px 0 16px;
}

/* ============================
   Who is moving? (counters)
   ============================ */
.mq-who-moving {
    margin-top: 32px;
}

.mq-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.mq-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-right: 1px solid #e5e7eb;
}

.mq-counter:last-child {
    border-right: none;
}

.mq-counter-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mq-counter-info {
    flex: 1;
    min-width: 0;
}

.mq-counter-label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.mq-counter-sublabel {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.mq-counter-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

form#mq-quote-form .mq-counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1e3a8a;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: all 0.15s;
}

form#mq-quote-form .mq-counter-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #1e3a8a;
}

form#mq-quote-form .mq-counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

form#mq-quote-form .mq-counter-plus {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}

form#mq-quote-form .mq-counter-plus:hover:not(:disabled) {
    background: #1e40af;
}

form#mq-quote-form .mq-counter-input {
    width: 40px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    /* Hide number input arrows */
    -moz-appearance: textfield;
    appearance: textfield;
}

form#mq-quote-form .mq-counter-input::-webkit-outer-spin-button,
form#mq-quote-form .mq-counter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================
   When are you moving?
   ============================ */
.mq-when-moving {
    margin-top: 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.mq-when-moving .mq-section-label {
    margin-top: 0;
    margin-bottom: 4px;
}

.mq-when-moving-hint {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 16px;
}

.mq-date-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}

.mq-date-fields .mq-field {
    margin-bottom: 0;
}

.mq-period-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mq-period-inputs .mq-input {
    flex: 1;
    min-width: 0;
}

.mq-period-separator {
    color: #6b7280;
    font-size: 13px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mq-date-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mq-date-divider {
        padding-bottom: 0;
    }
    
    .mq-period-inputs {
        flex-wrap: wrap;
    }
}

/* ============================
   Step 2 footer (reassurance)
   ============================ */
.mq-step2-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 24px;
}

.mq-step2-footer-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.mq-step2-footer-text h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
}

.mq-step2-footer-text p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .mq-counters {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mq-counter {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 8px;
    }
    
    .mq-counter:last-child {
        border-bottom: none;
    }
    
    .mq-date-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mq-date-toggle {
        width: 100%;
    }
    
    .mq-toggle-btn {
        flex: 1;
    }
    
    .mq-period-inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .mq-period-separator {
        text-align: center;
    }
}

/* ============================
   Validation states
   ============================ */

/* Error state on inputs */
.mq-input.has-error,
.mq-select.has-error {
    border-color: #dc2626;
    background: #fef2f2;
}

.mq-input.has-error:focus,
.mq-select.has-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

/* Error state on house type button */
.mq-house-type-btn.has-error {
    border: 2px solid #dc2626;
    background: #b91c1c;
}

/* Field error message */
.mq-field-error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Step-level error banner */
.mq-step-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.mq-step-errors.active {
    display: block;
}

.mq-step-errors-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.mq-step-errors ul {
    margin: 0;
    padding-left: 20px;
}

.mq-step-errors li {
    margin-top: 2px;
}

/* ============================
   Step 3 — Video Upload + Notes
   ============================ */

.mq-optional {
    font-weight: 400;
    color: #6b7280;
    font-size: 12px;
    margin-left: 6px;
}

/* Video Upload */
.mq-video-upload {
    width: 100%;
}

.mq-video-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.2s;
    position: relative;
}

.mq-video-dropzone:hover,
.mq-video-dropzone.drag-over {
    border-color: #1e3a8a;
    background: #eff6ff;
}

.mq-video-dropzone-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.mq-video-dropzone-text {
    margin-bottom: 8px;
}

.mq-video-dropzone-text strong {
    display: block;
    font-size: 15px;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.mq-video-dropzone-text span {
    display: block;
    font-size: 13px;
    color: #6b7280;
}

.mq-video-dropzone-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Selected file display */
.mq-video-selected {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.mq-video-thumb {
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.mq-video-info {
    flex: 1;
    min-width: 0;
}

.mq-video-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    word-break: break-all;
    margin-bottom: 4px;
}

.mq-video-size {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Progress bar */
.mq-video-progress {
    margin-top: 8px;
}

.mq-video-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.mq-video-progress-fill {
    height: 100%;
    background: #1e3a8a;
    width: 0%;
    transition: width 0.2s ease;
}

.mq-video-progress-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
}

.mq-video-status {
    font-size: 13px;
    margin-top: 6px;
}

.mq-video-status.success {
    color: #16a34a;
    font-weight: 500;
}

.mq-video-status.error {
    color: #dc2626;
    font-weight: 500;
}

.mq-video-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    color: #6b7280;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.15s;
}

.mq-video-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Textarea */
.mq-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.mq-char-counter {
    text-align: right;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

/* ============================
   Step 4 — Contact Details
   ============================ */

.mq-contact-fields {
    max-width: 600px;
}

/* Checkbox label */
.mq-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.mq-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.mq-checkbox-label span {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

/* Submission summary box */
.mq-submit-summary {
    margin-top: 24px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}

.mq-submit-summary h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1e3a8a;
}

.mq-submit-summary p {
    margin: 0;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

/* Submitting state */
.mq-btn-submit.is-submitting {
    opacity: 0.7;
    cursor: wait;
}

.mq-btn-submit.is-submitting::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mq-spin 0.7s linear infinite;
    vertical-align: middle;
}

/* Success screen */
.mq-success-screen {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.mq-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.mq-success-screen h2 {
    color: #16a34a;
    margin: 0 0 12px;
    font-size: 28px;
}

.mq-success-screen p {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.mq-success-screen .mq-reference {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 16px;
    font-family: monospace;
    color: #374151;
}