/* ============================================================
   GLOBAL WRAPPER
============================================================ */
.rek-wrapper {
    background: #ffffff;
    padding: 80px 20px 20px 20px;
}

/* ============================================================
   OUTER CONTAINER
============================================================ */
.rek-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================================
   SAAS APP SHELL
============================================================ */
.rek-app-shell {
    max-width: 900px;
    margin: 0 auto;
}

.rek-app-header {
    text-align: center;
    margin-bottom: 40px;
}

.rek-app-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #0b3a66;
}

.rek-app-header p {
    color: #5f6f7f;
    font-size: 16px;
}

/* ============================================================
   PROGRESS TRACK
============================================================ */
.rek-progress-track {
    position: relative;
    height: 70px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.rek-progress-fill {
    position: absolute;
    left: 0;
    height: 4px;
    width: 25%;
    background: linear-gradient(90deg,#2f7edb,#1f3d5a);
    transition: width 0.4s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.rek-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.rek-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dce6ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #7a8a99;
    transition: all 0.3s ease;
}

.rek-step-dot.active {
    background: #2f7edb;
    color: #fff;
}

/* ============================================================
   PANEL
============================================================ */
.rek-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(11,58,102,0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.rek-panel-header {
    margin-bottom: 30px;
    margin-top: 20px;
}

.rek-panel-footer {
    margin-top: 20px;
    text-align: right;
}

/* ============================================================
   STEP TITLES
============================================================ */
.rek-step-title {
    font-size: 20px;
    font-weight: 600;
    color: #0E2A47;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.rek-step-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #25b7b6;
    margin-top: 10px;
    border-radius: 2px;
}

/* ============================================================
   FORM GRID
============================================================ */
.rek-form-grid {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    row-gap: 20px;
}

#rek-zip {
    grid-column: span 2;
}

/* ============================================================
   INPUTS
============================================================ */
.rek-step-panel input,
.rek-step-panel select,
.rek-step-panel textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e3e9f0;
    background: #ffffff;
    font-size: 15px;
    transition: all 0.25s ease;
}

.rek-step-panel input:focus,
.rek-step-panel select:focus {
    border-color: #17b6b0;
    box-shadow: 0 0 0 4px rgba(23,182,176,0.15);
}

.rek-step-panel input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}
/* ============================================================
   STEP 2 — MANUAL SIZE INPUT
============================================================ */
.rek-manual-input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e3e9f0;
    font-size: 14px;
    width: 120px;
    box-sizing: border-box;
}

.rek-manual-input:disabled {
    background: #f5f7fa;
    opacity: 0.7;
}
/* ============================================================
   STEP 1 — CONSENT SECTION
============================================================ */
.rek-consent {
    margin-top: 20px;
}

.rek-consent p {
    font-size: 14px;
    line-height: 1.6;
    color: #5f6f7f;
    margin-bottom: 8px;
}

.rek-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.rek-consent-label input[type="checkbox"] {
    margin-top: 3px;
}

/* ============================================================
   BUTTONS
============================================================ */
.rek-primary {
    background: linear-gradient(90deg,#2f7edb,#1f3d5a);
    border: none;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 120px;
}

.rek-next,
.rek-prev {
    background: linear-gradient(135deg, #0E2A47, #173d63);
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(14,42,71,0.25);
    margin-top: 20px;
}

.rek-prev {
    background: #777;
}

/* ============================================================
   STEP TRANSITIONS
============================================================ */
.rek-step-panel {
    transition: transform 0.45s ease, opacity 0.35s ease;
}

.rek-step-panel.rek-hidden {
    display: none;
}

/* ============================================================
   STICKY TOTAL
============================================================ */
.rek-sticky-total {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    padding: 14px 20px;
    border-bottom: 1px solid #e6eef4;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
/* ============================================================
   STEP 2 — CHECKBOX SPACING
============================================================ */
.rek-step-panel[data-step="2"] .rek-service-select {
    display: flex;
    align-items: center;
    gap: 5px;
}
.rek-flat-service-note {  display: inline-block;  color: #18245c;  font-weight: 700;  font-size: 14px;}
/* ============================================================
   STEP 3 — TERMS SCROLL BOX
============================================================ */
.rek-step-panel[data-step="3"] .rek-terms-scroll {
    max-height: 260px;     /* adjust if needed */
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    background: #f9fbfd;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
margin-bottom:12px;
}

/* Optional: scrollbar styling */
.rek-step-panel[data-step="3"] .rek-terms-scroll::-webkit-scrollbar {
    width: 6px;
}

.rek-step-panel[data-step="3"] .rek-terms-scroll::-webkit-scrollbar-thumb {
    background: #17b6b0;
    border-radius: 10px;
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 768px) {

    .rek-panel {
        padding: 25px;
    }

    .rek-form-grid {
        width: 100%;
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    #rek-zip {
        grid-column: span 1;
    }

    /* Step 2 – Hide slider ONLY (mobile) */
.rek-step-panel[data-step="2"] .rek-slider {
    display: none !important;
}

/* Keep echo visible on mobile */
.rek-step-panel[data-step="2"] .rek-slider-value {
    display: block !important;
    margin-top: 6px;
    font-size: 14px;
    color: #0E2A47;
    opacity: 0.85;
}


    /* Enlarge checkboxes (Step 2 only) */
    .rek-step-panel[data-step="2"] .rek-service-checkbox {
        transform: scale(1.6);
        transform-origin: center;
    }

    /* Prevent iOS zoom */
    .rek-step-panel input,
    .rek-step-panel select,
    .rek-step-panel textarea {
        font-size: 16px !important;
        box-sizing: border-box;
    }

    /* ============================================================
   STEP 2 — REDUCED OUTER PADDING (MOBILE ONLY)
============================================================ */

/* Reduce wrapper side padding */
.rek-wrapper:has(.rek-step-panel[data-step="2"]:not(.rek-hidden)) {
    padding-left: 4px;
    padding-right: 4px;
}

/* Reduce panel side padding */
.rek-wrapper:has(.rek-step-panel[data-step="2"]:not(.rek-hidden)) .rek-panel {
    padding-left: 5px;
    padding-right: 5px;
}

/* Remove inner body padding */
.rek-step-panel[data-step="2"] .rek-panel-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure table uses full width */
.rek-step-panel[data-step="2"] .rek-service-table {
    width: 100%;
    border-collapse: collapse;
}

/* Tighten table cells slightly */
.rek-step-panel[data-step="2"] th,
.rek-step-panel[data-step="2"] td {
    padding-left: 10px;
    padding-right: 10px;
}
/* ============================================================
   STEP 2 — CUSTOM CHECKBOX BORDER WEIGHT
============================================================ */
.rek-step-panel[data-step="2"] .rek-service-checkbox {
    appearance: none;
    -webkit-appearance: none;

    width: 18px;
    height: 18px;
    border: 1px solid #0E2A47;   /* ← thinner border */
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
margin-right:7px;
}

/* Checked state */
.rek-step-panel[data-step="2"] .rek-service-checkbox:checked {
    background: #17b6b0;
    border-color: #17b6b0;
}

/* Checkmark */
.rek-step-panel[data-step="2"] .rek-service-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .rek-step-panel[data-step="2"] .rek-manual-input {
        width: 100%;
        max-width: 100%;
    }
/* ============================================================
   STEP 2 — STACK MANUAL INPUT ON MOBILE
============================================================ */
.rek-step-panel[data-step="2"] .rek-slider-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rek-step-panel[data-step="2"] .rek-manual-input {
    width: 100%;
}
/*================================
STEP 3 TERMS SCROLL BOX
===============================*/
.rek-step-panel[data-step="3"] .rek-terms-scroll {
        max-height: 240px;
    }
}

