/* =========================================================
   RESET
========================================================= */

.opep-quote-builder,
.opep-quote-builder * {
    box-sizing: border-box;
}

.opep-quote-builder {
    width: 100%;
    font-family: Arial, sans-serif;
    color: #182132;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.opep-quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(450px, 1fr);
    gap: 24px;
    align-items: start;
}

.opep-quote-main,
.opep-quote-sidebar {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #0000000D;

}


.opep-quote-main {
    min-height: 739px;
    padding: 32px;
}

.opep-quote-sidebar {
    padding: 24px;
}


/* =========================================================
   HEADER
========================================================= */

.opep-quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.opep-quote-header h2 {
    margin: 0 0 6px;
    padding: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #1A1A1A;
}

.opep-quote-header p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
}

.opep-instant-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    color: #374151;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

.opep-instant-price span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3B82F6;
}

/* =========================================================
   STEPPER
========================================================= */

.opep-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 30px auto 38px;
}

.opep-step-line {
    position: absolute;
    top: 16px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #B1B5C3;
}

.opep-step {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 80px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #b3bbca;
}


.opep-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #b8c1d1;
    border-radius: 50%;
    background: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #B1B5C3;
}

.opep-step-label {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: #B1B5C3;
}

.opep-step.active {
    color: #171717;
}

.opep-step.active .opep-step-circle {
    border-color: #2563EB;
    background: #2563EB;
    color: #FFFFFF;
}

.opep-step.active .opep-step-label {
    font-weight: 700;
    color: #1A1A1A;
}

.opep-step.complete .opep-step-circle {
    border-color: #b9c5d6;
    color: #8092aa;
}


/* =========================================================
   SELECT SERVICES
========================================================= */

.opep-section-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
}


.opep-section-heading strong {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #111827;
}

.opep-section-heading span {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.opep-service-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.opep-service-pill {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    gap: 9px;
    border: 1px solid #D1D5DB;
    border-radius: 30px;
    background: #FFFFFF;
    color: #374151;
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

.opep-service-pill input {
    display: none;
}


.opep-pill-check {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    background: #fff;
}


.opep-service-pill.selected {
    border-color: #3B82F6;
    background: #EEF2FF;
    color: #3B82F6;
}

.opep-service-pill.selected .opep-pill-check {
    border-color: #0878ef;
    background: #0878ef;
}

.opep-service-pill.selected .opep-pill-check::after {
    content: url("https://offshoreclipping.com/wp-content/uploads/2026/09/oc-check-icons.png");
    position: absolute;
    left: 1px;
    top: -3px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.opep-add-more-pill {
    display: inline-flex;
    min-height: 32px;
    padding: 0 13px;
    align-items: center;
    gap: 5px;
    border: 1px solid #ccd4df;
    border-radius: 30px;
    background: #fff;
    cursor: pointer;
    color: #515b6b;
}


/* =========================================================
   INFORMATION BOX
========================================================= */
.opep-selection-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    margin-top: 40px;
    padding: 12px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.opep-info-circle {
    display: flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #b1b8c5;
    color: #fff;
    font-weight: 700;
}

.opep-select-next {
    width: 100%;
    height: 60px;
    margin-top: 31px;
    border: 0;
    border-radius: 8px;
    background: #0072DD;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.opep-select-next:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}


/* =========================================================
   CONFIG NOTICE
========================================================= */

.opep-config-notice {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 7px;
    background: #eef5ff;
    color: #536071;
    font-size: 13px;
}

.opep-edit-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.opep-editing-name {
    color: #0878e7;
}

.opep-cancel-edit {
    padding: 8px 14px;
    border: 0;
    border-radius: 5px;
    background: #0878e7;
    color: #fff;
    cursor: pointer;
}


/* =========================================================
   CONFIG CONTROLS
========================================================= */

.opep-config-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.opep-config-column h4 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.opep-complexity-section h4 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 7px;
}

.opep-review-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

.opep-turnaround-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opep-turnaround-option {
    display: grid;
    grid-template-columns: 18px 50px 1fr;
    gap: 8px;
    min-height: 50px;
    padding: 0 12px;
    align-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    color: #111827;
}

.opep-turnaround-option input {
    display: none;
}

.opep-radio-circle {
    width: 16px;
    height: 16px;
    border: 1px solid #bec7d5;
    border-radius: 50%;
}

.opep-turnaround-option small {
    justify-self: end;
    color: #6B7280;
}

.opep-turnaround-option.active {
    border-color: #3B82F6;
    background: #f3f8ff;
}

.opep-turnaround-option.active .opep-radio-circle {
    border: 5px solid #2563EB;
}

.opep-turnaround-option.active small {
    color: #3B82F6;
}


/* Quantity */

.opep-config-quantity {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    height: 48px;
    border: 1px solid #dfe4eb;
    border-radius: 6px;
    overflow: hidden;
}

.opep-config-minus,
.opep-config-plus {
    border: 0;
    background: #F9FAFB;
    color: #4B5563;
    cursor: pointer;
    font-size: 18px;
}

.opep-config-quantity-input {
    width: 100%;
    border: 0;
    border-left: 1px solid #D1D5DB;
    border-right: 1px solid #D1D5DB;
    outline: none;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.opep-config-quantity-input::-webkit-inner-spin-button,
.opep-config-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.opep-quantity-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.opep-quantity-presets button {
    min-height: 35px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: #4B5563;
    cursor: pointer;
}

.opep-quantity-help {
    margin: 12px 0 0;
    color: #94A3B8;
    font-size: 16px;
    line-height: 24px;
}


/* =========================================================
   COMPLEXITY SERVICES
========================================================= */

.opep-complexity-section {
    margin-top: 30px;
}

.opep-config-service-row {
    display: grid;
    grid-template-columns: minmax(150px, .65fr) 1.35fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.opep-config-service-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.opep-config-service-info span {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: #1A1A1A;
}



.opep-complexity-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


.opep-complexity-card {
    min-width: 0;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px #0000000D;
}

.opep-complexity-card.active {
    border: 2px solid #0878ef;
    background: #f7fbff;
}

.opep-complexity-card-title {
    color: #64748B;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
}

.opep-complexity-card-title strong {
    color: #1A1A1A;
}

.opep-complexity-card.active .opep-complexity-card-title {
    color: #2563EB;
}

.opep-complexity-card img {
    display: block;
    width: 100%;
    margin-top: 6px;

}


/* =========================================================
   CONFIG ACTIONS
========================================================= */

.opep-config-actions,
.opep-review-actions {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    margin-top: 25px;
}
.opep-config-actions.back-hidden {
    display: grid;
    grid-template-columns: 100%;
}

.opep-config-back,
.opep-review-back {
    border: 0;
    border-radius: 5px;
    background: #202020;
     color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    cursor: pointer;
}

.opep-config-next,
.opep-add-batch {
    min-height: 58px;
    border: 0;
    border-radius: 5px;
    background: #0072DD;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    font-weight: 700;
}


/* =========================================================
   REVIEW
========================================================= */

.opep-review-title {
    margin-bottom: 18px;
}

.opep-review-item {
    margin-bottom: 10px;
    padding: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 16px;
}

.opep-review-item-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #1A1A1A;
}
.opep-review-meta {
    margin-top: 5px;
    color: #64748B;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.opep-review-item-actions {
    display: flex;
    gap: 13px;
    margin-top: 4px;
}

.opep-review-item-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.opep-batch-total {
    display: flex;
    min-height: 60px;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    margin-top: 30px;
}

/* =========================================================
   SIDEBAR SUMMARY
========================================================= */

.opep-summary-row,
.opep-total-estimate-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.opep-summary-row {
    color: #4B5563;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.opep-summary-divider {
    height: 1px;
    margin: 23px 0 25px;
    background: #F3F4F6;
}

.opep-total-estimate-row {
    align-items: center;
    font-size: 18px;
}

.opep-estimate-value {
    color: #176dea;
    font-size: 26px;
}


.opep-privacy-message {
    margin: 26px 0 16px;
    text-align: center;
    color: #6B7280;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.opep-proceed-next {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 8px;
    background: #0072DD;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.opep-proceed-next:disabled {
    background: #a4adbb;
    cursor: not-allowed;
}


/* =========================================================
   VOLUME DISCOUNT
========================================================= */
.opep-volume-box {
    margin-top: 25px;
    padding: 15px;
    border-radius: 12px;
    background: #EFF6FF;
    color: #1D4ED8;
}

.opep-volume-header,
.opep-volume-labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.opep-volume-header {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.opep-volume-labels {
    margin-top: 8px;
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
}

.opep-volume-track {
    position: relative;
    height: 4px;
    margin-top: 5px;
    border-radius: 5px;
    background: #BFDBFE;
    overflow: hidden;
}

.opep-volume-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: #2563EB;
    transition: width .25s ease;
}

.opep-volume-box p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}


/* =========================================================
   SIDEBAR SERVICE LIST
========================================================= */

.opep-sidebar-list-heading {
    display: flex;
    margin-top: 26px;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.opep-sidebar-list-heading strong {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.opep-clear-order {
    padding: 6px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 25px;
    background: #fff;
    color: #4B5563;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}


.opep-order-message {
    margin-top: 17px;
    padding: 10px;
    border-radius: 5px;
    background: #F0FDF4;
    color: #15803D;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}


/* Empty */

.opep-order-empty {
    min-height: 180px;
    margin-top: 19px;
    padding: 25px 18px;
    border: 1px dashed #cad5e4;
    border-radius: 10px;
    text-align: center;
}

.opep-empty-folder {
    display: flex;
    align-items: center;
    justify-content: center;

}

.opep-order-empty p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 28px;
    margin-top: 15px;
}


/* Items */

.opep-sidebar-items {
    margin-top: 20px;
}



.opep-sidebar-item {
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.opep-sidebar-item.editing {
    border-color: #0878ef;
}

.opep-sidebar-item-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #1A1A1A;
}
.opep-sidebar-item-meta {
    margin-top: 5px;
    color: #64748B;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.opep-sidebar-item-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.opep-sidebar-item-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6f94cf;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .opep-quote-layout {
        grid-template-columns: 1fr;
    }

    .opep-quote-sidebar {
        position: static;
    }

}


@media (max-width: 700px) {

    .opep-quote-main,
    .opep-quote-sidebar {
        padding: 20px;
    }

    .opep-quote-header {
        flex-direction: column;
    }

    .opep-config-controls {
        grid-template-columns: 1fr;
    }

    .opep-config-service-row {
        grid-template-columns: 1fr;
    }

    .opep-complexity-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .opep-service-pill {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .opep-complexity-cards {
        grid-template-columns: 1fr;
    }

    .opep-config-actions,
    .opep-review-actions {
        grid-template-columns: 1fr;
    }

}