/* ============================================
   QUOTE FORM STYLES
   Multi-step form with photo upload
   ============================================ */

.quote-page {
    padding: var(--space-12) 0;
}

/* Progress Bar */
.quote-progress {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-10);
    padding: 0 var(--space-4);
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 600px;
    width: 100%;
}

.progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}

.progress-step:last-child {
    flex: 0;
}

.progress-step__circle {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: var(--grey-100);
    color: var(--grey-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    transition: all var(--duration) var(--ease);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.progress-step.active .progress-step__circle {
    background: var(--amber);
    color: var(--navy-dark);
    box-shadow: 0 0 0 4px rgba(212, 151, 46, 0.2);
}

.progress-step.completed .progress-step__circle {
    background: var(--green);
    color: var(--white);
}

.progress-step__line {
    flex: 1;
    height: 2px;
    background: var(--grey-200);
    transition: background var(--duration) var(--ease);
}

.progress-step.completed .progress-step__line {
    background: var(--green);
}

.progress-step__label {
    display: none;
}

@media (min-width: 640px) {
    .progress-step__circle {
        width: 48px;
        height: 48px;
    }

    .progress-step__label {
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--grey-500);
    }

    .progress-step.active .progress-step__label {
        color: var(--amber);
    }

    .progress-step.completed .progress-step__label {
        color: var(--green);
    }
}

/* Form Container */
.quote-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-100);
    overflow: hidden;
}

.quote-form-header {
    padding: var(--space-8) var(--space-8) 0;
}

.quote-form-header h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.quote-form-header p {
    color: var(--grey-500);
}

.quote-form-body {
    padding: var(--space-8);
}

/* Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Move Type Selection */
.move-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .move-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.move-type-option {
    position: relative;
}

.move-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.move-type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-3);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-align: center;
}

.move-type-option label:hover {
    border-color: var(--amber);
    background: rgba(212, 151, 46, 0.03);
}

.move-type-option input:checked + label {
    border-color: var(--amber);
    background: rgba(212, 151, 46, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 151, 46, 0.15);
}

.move-type-option label svg {
    width: 32px;
    height: 32px;
    color: var(--navy);
}

.move-type-option input:checked + label svg {
    color: var(--amber);
}

.move-type-option label span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--grey-700);
}

/* Special Items Checkboxes */
.special-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 640px) {
    .special-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.special-item-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.special-item-check:hover {
    border-color: var(--amber);
}

.special-item-check:has(input:checked) {
    border-color: var(--amber);
    background: rgba(212, 151, 46, 0.05);
}

.special-item-check input {
    accent-color: var(--amber);
}

/* Photo Upload Zone */
.upload-zone {
    border: 2px dashed var(--grey-300);
    border-radius: var(--radius);
    padding: var(--space-10) var(--space-6);
    text-align: center;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    background: var(--grey-50);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--amber);
    background: rgba(212, 151, 46, 0.05);
}

.upload-zone__icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--amber);
    box-shadow: var(--shadow-sm);
}

.upload-zone__icon svg {
    width: 28px;
    height: 28px;
}

.upload-zone h4 {
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

.upload-zone p {
    font-size: 0.8125rem;
    color: var(--grey-500);
    margin: 0;
}

.upload-zone__browse {
    color: var(--amber);
    font-weight: 600;
    text-decoration: underline;
}

/* Photo Previews */
.photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--grey-200);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    line-height: 1;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.photo-preview:hover .photo-preview__remove {
    opacity: 1;
}

.photo-preview__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-1) var(--space-2);
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.625rem;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    background: var(--grey-50);
    border-top: 1px solid var(--grey-100);
}

.form-nav .btn {
    min-width: 140px;
}

.form-nav__back {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--grey-500);
    padding: var(--space-3) var(--space-4);
    border-radius: 0;
    transition: all var(--duration) var(--ease);
}

.form-nav__back:hover {
    color: var(--navy);
    background: var(--grey-100);
}

/* GDPR Consent */
.gdpr-notice {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: var(--space-4);
    font-size: 0.8125rem;
    color: var(--grey-600);
    margin-top: var(--space-4);
}

.gdpr-notice a {
    color: var(--amber);
    text-decoration: underline;
}

/* Success State */
.quote-success {
    text-align: center;
    padding: var(--space-16) var(--space-8);
}

.quote-success__icon {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--white);
}

.quote-success__icon svg {
    width: 40px;
    height: 40px;
}

.quote-success h2 {
    margin-bottom: var(--space-3);
}

.quote-success p {
    max-width: 500px;
    margin: 0 auto var(--space-4);
}

.quote-success__ref {
    display: inline-block;
    background: var(--grey-50);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: var(--space-8);
}
