/* PCR STAGE 12B - PREMIUM QUOTE WIZARD POLISH */

body.pcr-quote-wizard-polish {
    background: #f3f5f6;
}

body.pcr-quote-wizard-polish main > section:first-of-type {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
}

body.pcr-quote-wizard-polish form {
    scroll-margin-top: 110px;
}

body.pcr-quote-wizard-polish input,
body.pcr-quote-wizard-polish select,
body.pcr-quote-wizard-polish textarea,
body.pcr-quote-wizard-polish button {
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease,
        color .16s ease,
        transform .16s ease;
}

body.pcr-quote-wizard-polish input:focus,
body.pcr-quote-wizard-polish select:focus,
body.pcr-quote-wizard-polish textarea:focus {
    outline: none !important;
    border-color: #ba1200 !important;
    box-shadow: 0 0 0 4px rgba(186,18,0,.10) !important;
}

body.pcr-quote-wizard-polish input.pcr-field-invalid,
body.pcr-quote-wizard-polish select.pcr-field-invalid,
body.pcr-quote-wizard-polish textarea.pcr-field-invalid {
    border-color: #ba1200 !important;
    box-shadow: 0 0 0 4px rgba(186,18,0,.09) !important;
}

.pcr-quote-field-error {
    margin-top: 6px;
    color: #a70f00;
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 750;
}

.pcr-quote-field-hint {
    margin-top: 7px;
    color: #70818d;
    font-size: .78rem;
    line-height: 1.45;
}

.pcr-quote-photo-helper {
    margin: 16px 0;
    border: 1px solid #dfe5e8;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fafb, #fff);
    padding: 17px;
}

.pcr-quote-photo-helper__title {
    margin: 0;
    color: #031927;
    font-size: .9rem;
    font-weight: 900;
}

.pcr-quote-photo-helper__grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pcr-quote-photo-tip {
    border-radius: 12px;
    background: #eef3f5;
    padding: 11px;
    color: #526873;
    font-size: .74rem;
    line-height: 1.35;
    font-weight: 750;
}

.pcr-quote-photo-tip strong {
    display: block;
    margin-bottom: 3px;
    color: #031927;
    font-size: .76rem;
    font-weight: 900;
}

.pcr-quote-photo-preview {
    margin-top: 16px;
}

.pcr-quote-photo-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pcr-quote-photo-preview__count {
    color: #031927;
    font-size: .82rem;
    font-weight: 900;
}

.pcr-quote-photo-preview__clear {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ba1200;
    padding: 0;
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.pcr-quote-photo-preview__grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pcr-quote-photo-preview__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #dfe5e8;
    border-radius: 14px;
    background: #e8eef1;
}

.pcr-quote-photo-preview__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pcr-quote-photo-preview__name {
    position: absolute;
    inset: auto 0 0 0;
    overflow: hidden;
    padding: 7px 9px;
    background: linear-gradient(transparent, rgba(3,25,39,.88));
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcr-quote-details-privacy {
    margin: 18px 0 4px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 14px;
    background: #f1f5f7;
    padding: 13px 14px;
    color: #60727d;
    font-size: .78rem;
    line-height: 1.5;
}

.pcr-quote-details-privacy strong {
    color: #031927;
}

.pcr-quote-details-privacy svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: #ba1200;
    margin-top: 1px;
}

.pcr-quote-review-note {
    margin: 0 0 18px;
    border-left: 4px solid #ba1200;
    border-radius: 0 12px 12px 0;
    background: #fff5f3;
    padding: 12px 14px;
    color: #5e6f78;
    font-size: .82rem;
    line-height: 1.5;
}

.pcr-quote-review-note strong {
    color: #031927;
}

.pcr-quote-autofmt-badge {
    display: inline-flex;
    margin-top: 6px;
    border-radius: 999px;
    background: #eef3f5;
    padding: 5px 8px;
    color: #5f717c;
    font-size: .68rem;
    font-weight: 850;
}

@media (min-width: 700px) {
    .pcr-quote-photo-preview__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 699px) {
    body.pcr-quote-wizard-polish main > section:first-of-type {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .pcr-quote-photo-helper__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pcr-quote-wizard-polish * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
