/* =====================================
           PAGE HEADER
        ===================================== */

        .registration-header {
            background: #ffffff;
            border-bottom: 1px solid #e9ecef;
            padding: 18px 0;
        }

        .registration-header h1 {
            font-size: 20px;
            font-weight: 700;
            margin: 0;
            color: #1f2937;
        }

        .registration-header p {
            margin: 4px 0 0;
            color: #667085;
            font-size: 13px;
        }


        /* =====================================
           MAIN WRAPPER
        ===================================== */

        .registration-wrapper {
            padding: 40px 0 70px;
        }


        /* =====================================
           FORM CARD
        ===================================== */

        .registration-card {
            background: #ffffff;
            border-radius: 14px;
            border: 1px solid #e8eaed;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(16, 24, 40, 0.04);
        }


        /* =====================================
           STEP HEADER
        ===================================== */

        .registration-top {
            padding: 25px 30px 22px;
            border-bottom: 1px solid #edf0f2;
            background: #ffffff;
        }

        .registration-top h5 {
            margin: 0 0 16px;
            font-size: 17px;
            font-weight: 700;
            color: #1d2939;
        }

        .step-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            font-weight: 600;
            color: #667085;
            margin-bottom: 8px;
        }

        .registration-progress {
            height: 6px;
            border-radius: 20px;
            background: #edf0f2;
        }

        .registration-progress .progress-bar {
            background: #111827;
            border-radius: 20px;
        }


        /* =====================================
           FORM CONTENT
        ===================================== */

        .form-content {
            padding: 35px 30px;
        }

        .form-main-title {
            font-size: 18px;
            font-weight: 800;
            color: #1d2939;
            margin-bottom: 30px;
            letter-spacing: .3px;
        }


        /* =====================================
           FORM GROUP
        ===================================== */

        .form-group-custom {
            margin-bottom: 22px;
        }

        .form-group-custom label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #344054;
            margin-bottom: 8px;
        }

        .form-group-custom label span {
            color: #dc2626;
        }


        /* =====================================
           INPUTS
        ===================================== */

        .custom-input {
            min-height: 48px;
            border: 1px solid #d0d5dd;
            border-radius: 8px;
            padding: 11px 14px;
            font-size: 14px;
            color: #344054;
            box-shadow: none !important;
        }

        .custom-input:focus {
            border-color: #111827;
        }

        textarea.custom-input {
            min-height: 110px;
            resize: vertical;
        }


        /* =====================================
           RADIO BUTTONS
        ===================================== */

        .radio-group-box {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .form-check-inline {
            margin-right: 0;
        }

        .form-check-input {
            cursor: pointer;
        }

        .form-check-label {
            cursor: pointer;
            margin-bottom: 0 !important;
            font-size: 14px !important;
            font-weight: 500 !important;
        }


        /* =====================================
           SECTION
        ===================================== */

        .form-section {
            border-top: 1px solid #eaecf0;
            margin-top: 35px;
            padding-top: 28px;
        }

        .form-section h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 24px;
            color: #1d2939;
        }

        .form-section h3 i {
            margin-right: 7px;
        }

        .form-section h3 span {
            color: #dc2626;
        }


        /* =====================================
           UPLOAD BOX
        ===================================== */

        .upload-box {
            border: 1px dashed #98a2b3;
            border-radius: 9px;
            min-height: 110px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            transition: .2s ease;
            background: #fafafa;
        }

        .upload-box:hover {
            border-color: #111827;
            background: #f8fafc;
        }

        .upload-box i {
            font-size: 24px;
            color: #667085;
            margin-bottom: 8px;
        }

        .upload-box::after {
            content: "Click to upload";
            font-size: 12px;
            color: #667085;
        }

        .upload-box input {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .file-name {
            display: block;
            margin-top: 7px;
            font-size: 12px;
            color: #667085;
            word-break: break-word;
        }


        /* =====================================
           DECLARATION
        ===================================== */

        .declaration-box {
            margin-top: 30px;
            padding: 18px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #eaecf0;
        }

        .declaration-box .form-check-label {
            line-height: 1.6;
            color: #475467;
        }


        /* =====================================
           BUTTONS
        ===================================== */

        .form-action {
            display: flex;
            justify-content: flex-end;
            margin-top: 30px;
        }

        .next-btn {
            background: #111827;
            color: #ffffff;
            border: none;
            min-width: 160px;
            min-height: 48px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: .2s ease;
        }

        .next-btn:hover {
            background: #000000;
            color: #ffffff;
        }

        .next-btn i {
            margin-left: 8px;
        }


        /* =====================================
           LOADER
        ===================================== */

        .step-loader {
            padding: 80px 20px;
            text-align: center;
        }


        /* =====================================
           VALIDATION
        ===================================== */

        .is-invalid {
            border-color: #dc3545 !important;
        }


        /* =====================================
           MOBILE
        ===================================== */

        @media (max-width: 767.98px) {

            .registration-header {
                padding: 15px 0;
            }

            .registration-header h1 {
                font-size: 17px;
                line-height: 1.4;
            }

            .registration-header p {
                font-size: 12px;
            }

            .registration-wrapper {
                padding: 20px 10px 40px;
            }

            .registration-card {
                border-radius: 10px;
            }

            .registration-top {
                padding: 20px 18px;
            }

            .registration-top h5 {
                font-size: 15px;
                line-height: 1.5;
            }

            .form-content {
                padding: 25px 18px;
            }

            .form-main-title {
                font-size: 16px;
                margin-bottom: 24px;
            }

            .radio-group-box {
                gap: 15px;
            }

            .form-group-custom {
                margin-bottom: 18px;
            }

            .form-section {
                margin-top: 25px;
                padding-top: 23px;
            }

            .form-section h3 {
                font-size: 15px;
            }

            .custom-input {
                font-size: 16px;
            }

            .form-action {
                margin-top: 25px;
            }

            .next-btn {
                width: 100%;
            }

            .upload-box {
                min-height: 100px;
            }

        }

        /* =====================================
   STEP DESCRIPTION
===================================== */

.step-description {
    font-size: 14px;
    color: #667085;
    margin-top: -15px;
    margin-bottom: 28px;
    line-height: 1.6;
}


/* =====================================
   PLOT SELECTION
===================================== */

.plot-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.plot-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.plot-card input {
    display: none;
}

.plot-card-content {
    min-height: 92px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.plot-card:hover .plot-card-content {
    border-color: #111827;
    transform: translateY(-2px);
}

.plot-card input:checked + .plot-card-content {
    border-color: #111827;
    background: #f9fafb;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.plot-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #98a2b3;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.plot-card input:checked + .plot-card-content .plot-radio {
    border-color: #111827;
}

.plot-card input:checked + .plot-card-content .plot-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #111827;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

.plot-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plot-info strong {
    font-size: 18px;
    color: #1d2939;
}

.plot-info small {
    font-size: 11px;
    color: #667085;
    font-weight: 600;
    margin-top: 3px;
}

.plot-arrow {
    color: #98a2b3;
    font-size: 18px;
}

.plot-card input:checked + .plot-card-content .plot-arrow {
    color: #111827;
}


/* =====================================
   PAYMENT SUMMARY
===================================== */

.payment-summary {
    margin-top: 30px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
}

.payment-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: #667085;
    margin-bottom: 5px;
}

.payment-summary-header h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    color: #1d2939;
}

.summary-rate {
    text-align: right;
}

.summary-rate span {
    display: block;
    font-size: 12px;
    color: #667085;
}

.summary-rate strong {
    display: block;
    font-size: 18px;
    color: #1d2939;
    margin-top: 3px;
}

.summary-rate small {
    font-size: 10px;
    color: #98a2b3;
}

.payment-divider {
    height: 1px;
    background: #eaecf0;
    margin: 22px 0;
}

.payment-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 14px;
}

.payment-row span {
    color: #667085;
}

.payment-row strong {
    color: #344054;
    font-weight: 600;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid #eaecf0;
}

.payment-total span {
    font-size: 14px;
    font-weight: 700;
    color: #1d2939;
}

.payment-total strong {
    font-size: 20px;
    color: #111827;
}


/* =====================================
   TERMS
===================================== */

.terms-box {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #eaecf0;
    background: #f9fafb;
    border-radius: 9px;
}

.terms-box .form-check-label {
    font-size: 13px !important;
    line-height: 1.6;
    color: #475467;
}


/* =====================================
   STEP BUTTONS
===================================== */

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.previous-btn,
.submit-btn {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.previous-btn {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
}

.previous-btn:hover {
    background: #f9fafb;
    border-color: #98a2b3;
}

.submit-btn {
    background: #111827;
    color: #ffffff;
    border: none;
}

.submit-btn:hover {
    background: #000000;
    color: #ffffff;
}


/* =====================================
   MOBILE STEP 2
===================================== */

@media (max-width: 767.98px) {

    .plot-selection-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .plot-card-content {
        min-height: 78px;
        padding: 15px;
    }

    .payment-summary {
        padding: 18px;
    }

    .payment-summary-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .summary-rate {
        text-align: left;
    }

    .step-buttons {
        flex-direction: column-reverse;
    }

    .previous-btn,
    .submit-btn {
        width: 100%;
    }

}