

/* ============================================
   PROPERTY DETAIL MODAL - ORGANIZED BY SECTIONS
   ============================================ */

/* ============================================
   SECTION 1: MAIN CONTAINER - MODAL OVERLAY
   ============================================ */

.property-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: -8px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.modal-content-wrapper {
    position: relative;
    z-index: 10002;
    max-width: 1000px !important;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


.property-details-content {
    padding-top: 30px;
    padding-left: 15px;
    padding-right: 30px;
}

@media (max-width: 1200px) {
    .modal-content-wrapper {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
    }

    .property-detail-modal .container-fluid {
        max-width: 100%;
        width: 100%;
    }
}

.modal-close-btn {
    position: fixed;
    top: 20px;
    right: calc((100% - 1000px) / 2 - 66px);
    z-index: 10003;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    transform: scale(1.05);
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
}

.property-detail-modal .container-fluid {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: transparent;
}
@media (max-width: 1200px) {
    .modal-close-btn {
        right: 6%;
        width: 35px;
        height: 35px;
    }
}
/* Responsive Styles for Modal */
@media (max-width: 992px) {
    .modal-content-wrapper {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .modal-close-btn {
        top: 24px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
    .property-details-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 16px 12px;
    }

    .modal-close-btn {
        right: 1%;
        top: 6px;
        left: 12px;
        width: 36px;
        height: 36px;
    }

    .modal-close-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   SECTION 2: LEFT SIDE - PROPERTY DETAILS
   ============================================ */

.property-details-section {
    background-color: white;
    padding: 0;
}

.property-details-content::-webkit-scrollbar {
    width: 8px;
}

.property-details-content::-webkit-scrollbar-track {
    background: transparent;
}

.property-details-content::-webkit-scrollbar-thumb {
    background: #D8D9D9;
    border-radius: 4px;
}

.property-details-content::-webkit-scrollbar-thumb:hover {
    background: #768284;
}

/* Property Image Section */
.property-image-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 24px;
    width: 100%;
}

.property-image-container {
    position: relative;
    width: 100%;
    height: 341.84px;
    border-radius: 17.09px;
    overflow: hidden;

    .property-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42.73px;
        height: 42.73px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0px 4.27px 6.41px -1.07px rgba(0, 0, 0, 0.1), 0px 2.14px 4.27px -2.14px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 2;
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.05);
    }

    .carousel-btn.carousel-btn-prev {
        left: 17.09px;
    }

    .carousel-btn.carousel-btn-next {
        right: 17.09px;
    }

    .carousel-btn svg {
        width: 25.64px;
        height: 25.64px;
    }

    .image-pagination {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8.55px;
        align-items: center;

        .dot {
            width: 8.55px;
            height: 8.55px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .dot.active {
            width: 34.18px;
            height: 8.55px;
            background: #0B3C40;
            border-radius: 50px;
        }
    }
}

.property-title-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 100%;

    .property-title {
        width: 100%;
        font-family: 'Tajawal', sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 26px;
        line-height: 36px;
        color: #1E2939;
        margin: 0;
    }

    .property-location {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        gap: 8px;
        width: 100%;
        height: 24px;

        svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .location-text {
            font-family: 'Tajawal', sans-serif;
            font-style: normal;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            text-align: right;
            color: #4A5565;
        }
    }
}

/* Property Details Grid */
.property-details-grid-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.section-heading {
    width: 100%;
    height: 30px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: #1E2939;
    margin: 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.detail-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 16px;
    gap: 12px;
    width: 100%;
    height: 88px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;

    .detail-header {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        gap: 8px;
        width: 100%;
        height: 20px;

        .detail-label {
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-style: normal;
            font-weight: 400;
            font-size: 16px;
            line-height: 150%;
            color: #768284;
        }

        .detail-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }
    }

    .detail-value {
        font-family: 'IBM Plex Sans Arabic', sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 150%;
        text-align: right;
        color: #1E2939;
        width: 100%;
    }
}

/* Investment Details Tabs */
.investment-details-tabs {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 25px 1px;
    gap: 24px;
    width: 100%;
    min-height: 733px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-top: 24px;
}

.tabs-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
    height: 39px;
    border-bottom: 1px solid #E5E7EB;
}

.tab-btn {
    height: 38px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: right;
    color: #768284;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.tab-btn.active {
    border-bottom-color: #0B3C40;
    color: #0B3C40;
}

.tab-btn:hover {
    color: #0B3C40;
}

.tabs-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 100%;
    height: 28px;
    margin-bottom: 24px;

    .tab-title {
        width: 159.66px;
        height: 28px;
        font-family: 'Tajawal', sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
        color: #1E2939;
        margin: 0;
    }

    svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
}

.investment-info-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    width: 100%;
}

.info-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 49px;
    border-bottom: 1px solid #F3F4F6;

    .info-item:last-child {
        border-bottom: none;
    }

    .info-label {
        font-family: 'IBM Plex Sans Arabic', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        color: #4A5565;
    }

    .info-value {
        font-family: 'IBM Plex Sans Arabic', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        color: #1E2939;
    }

    .info-value.highlight {
        color: #0B3C40;
    }
}

/* Accordion Styles */
.accordion-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    width: 100%;
}

.accordion-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 1px;
    width: 100%;
    border-bottom: 1px solid #E5E7EB;

    .accordion-item:last-child {
        border-bottom: none;
    }
}

.accordion-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    gap: 0;
    width: 100%;
    height: 56px;
    background: transparent;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(11, 60, 64, 0.02);
}

.accordion-header[aria-expanded="true"] .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    gap: 8px;
    height: 24px;
}

.accordion-title {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #1E2939;
    text-align: right;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.accordion-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-content {
    box-sizing: border-box;
    width: 100%;
    padding: 0 0 0 46.91px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content p {
    position: relative;
    width: 522px;
    height: auto;
    min-height: 24px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-align: right;
    color: #1E2939;
    margin: 0;
    padding: 2px 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 0 16px 46.91px;
}

/* Features Section */
.property-features-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
    height: 86px;
    margin-top: 24px;
    padding-right: 16px;
}

.features-tags {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    gap: 16px;
    width: 100%;
    height: 40px;
    flex-wrap: wrap;
}

.feature-tag {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
    height: 40px;
    background: #E7ECEC;
    border: 1px solid rgba(11, 60, 64, 0.2);
    border-radius: 20px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #0B3C40;
    white-space: nowrap;
}

/* Documents Section */
.property-documents-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 25px 25px 24px;
    gap: 24px;
    width: 100%;
    min-height: 183px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    margin-top: 24px;
}

.documents-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 100%;
    height: 28px;

    .section-heading {
        width: 84px;
        height: 30px;
        margin: 0;
    }

    svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
}

.document-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 16px;
    width: 100%;
    min-height: 82px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #0B3C40;
    box-shadow: 0px 2px 8px rgba(11, 60, 64, 0.1);
}

/* Circular Icon (Right side in RTL) */
.document-icon-circle {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #E8D7AC;
    border-radius: 50%;
    flex-shrink: 0;
}

.document-icon-circle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Document Info (Middle) */
.document-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    flex: 1;
    gap: 4px;
}

.document-name {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-align: right;
    color: #1E2939;
    margin: 0;
}

.document-type {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    text-align: right;
    color: #768284;
    margin: 0;
}

/* Download Icon (Left side in RTL) */
.document-download-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
}

.document-download-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.document-item:hover .document-download-icon img {
    opacity: 1;
}

/* ============================================
   SECTION 3: RIGHT SIDE - INVESTMENT CALCULATOR
   ============================================ */

.investment-calculator-section {
    padding: 0;
    position: relative;
}

.calculator-content {
    position: sticky;
    top: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 30px 15px 30px 30px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #F9FAFB;
    border-right: 1px solid #E5E7EB;
    max-height: 100vh;
    overflow-y: auto;
}

.calculator-content::-webkit-scrollbar {
    width: 8px;
}

.calculator-content::-webkit-scrollbar-track {
    background: transparent;
}

.calculator-content::-webkit-scrollbar-thumb {
    background: #D8D9D9;
    border-radius: 4px;
}

.calculator-content::-webkit-scrollbar-thumb:hover {
    background: #768284;
}

.calculator-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 8px;
    gap: 10px;
    width: 100%;
    height: 58px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 25px;
    line-height: 150%;
    color: #1E2939;
    margin: 0;
}

/* Shares Progress Card */
.shares-progress-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 4px;
    width: 100%;
    height: 77px;
    background: #E8D7AC;
    border: 0.64px solid rgba(11, 60, 64, 0.2);
    border-radius: 20px;
}

.shares-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 100%;
    height: 28px;

    .shares-count {
        width: 68.67px;
        height: 28px;
        font-family: 'Tajawal', sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        color: #334548;
    }

    .shares-label {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 8px;
        height: 20px;

        span {
            height: 20px;
            font-family: 'Tajawal', sans-serif;
            font-style: normal;
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            color: #364153;
        }

        svg {
            width: 15.99px;
            height: 15.99px;
            flex-shrink: 0;
        }
    }
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 100%;
    height: 8px;
    background: #F9FAFB;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 24.7%;
    height: 100%;
    background: linear-gradient(180deg, #0B3C40 0%, #334548 100%);
    border-radius: 50px;
    transition: width 0.3s ease;
}

/* Metrics Cards */
.metrics-cards {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 0;
    gap: 8px;
    width: 100%;
    height: 110px;
    margin-top: 16px;
}

.metric-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    gap: 6px;
    width: 120px;
    height: 110px;
    background: #F9FAFB;
    border: 0.8px solid #E5E7EB;
    border-radius: 10px;
    flex: 1;
}

.metric-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 30.28px;
    height: 30.28px;
    background: #E8D7AC;
    border-radius: 12.62px;

    img {
        width: 15.14px;
        height: 15.14px;
    }
}

.metric-label {
    width: 100%;
    height: 17px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 11.36px;
    line-height: 17px;
    text-align: center;
    color: #768284;
}

.metric-value {
    width: 100%;
    height: 24px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #0B3C40;
}

/* Divider */
.divider {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    gap: 10px;
    width: 100%;
    height: 16px;
    margin-top: 8px;

}

.divider::before {
    content: '';
    width: 100%;
    height: 0;
    border: 1px solid #B5A886;
}

/* Investment Input */
.investment-input-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 100%;
    height: 92px;
    margin-top: 8px;
}

.input-label {
    width: 147px;
    height: 24px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-align: right;
    color: #364153;
}

.number-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    width: 100%;
    height: 52px;
    background: #FFFFFF;
    border: 1px solid #D8D9D9;
    border-radius: 16px;
    gap: 0;
    direction: ltr;

    .number-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .number-btn:hover:not(:disabled) {
        background: #F9FAFB;
    }

    .number-btn:active:not(:disabled) {
        background: #F3F4F6;
    }

    .number-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .number-btn svg {
        width: 24px;
        height: 24px;
        stroke: #1E2939;
    }

    .number-btn:disabled svg {
        stroke: #9CA3AF;
    }

    .number-btn-minus {
        border-right: 1px solid #E5E7EB;
        border-radius: 16px 0 0 16px;
    }

    .number-btn-plus {
        border-left: 1px solid #E5E7EB;
        border-radius: 0 16px 16px 0;
    }

    .form-control {
        flex: 1;
        border: none;
        background: transparent;
        font-family: 'Poppins', sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        line-height: 28px;
        text-align: center;
        color: #1E2939;
        padding: 0 16px;
        min-width: 0;
    }

    .form-control:focus {
        outline: none;
        box-shadow: none;
    }

    .form-control::-webkit-inner-spin-button,
    .form-control::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .form-control[type=number] {
        -moz-appearance: textfield;
    }
}

.number-input .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* Expected Returns */
.expected-returns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.returns-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.return-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 4px;
    flex: 1;
    background: #E7ECEC;
    border: 1px solid #B3C3C4;
    border-radius: 16px;
}

.return-item-full {
    width: 100%;
    flex: 1 1 100%;
}

.return-label {
    width: 100%;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    text-align: right;
    color: #768284;
}

.return-value {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 100%;
    height: 27px;

    .amount {
        width: 100%;
        height: 27px;
        font-family: 'IBM Plex Sans Arabic', sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        line-height: 27px;
        text-align: right;
        color: #0B3C40;
    }
}

/* Confirm Section */
.confirm-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
    height: 96px;
    margin-top: 12px;
}

.btn-confirm-investment {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 22px;
    gap: 10px;
    width: 100%;
    height: 59px;
    background: #0B3C40;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 99px;
    border: none;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-investment:hover {
    background: #0D2D36;
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn-confirm-investment:active {
    transform: translateY(0);
}

.btn-confirm-investment:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.btn-confirm-investment:disabled:hover {
    background: #9CA3AF;
    transform: none;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.disclaimer {
    width: 100%;
    height: 16px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 150%;
    text-align: center;
    color: #AD8500;
    margin: 0;
}

/* ============================================
   SECTION 4: RESPONSIVE STYLES
   ============================================ */

/* Tablet (992px) */
@media (max-width: 992px) {
    .property-detail-modal {
        padding: 24px 16px;
    }

    /* Reorder sections for tablet - calculator at bottom */
    .property-detail-modal .row {
        display: flex;
        flex-direction: column;
    }

    .property-details-section {
        order: 1;
    }

    .investment-calculator-section {
        order: 2;
        padding-left: 0;
        padding-top: 24px;
        margin-top: 24px;
        border-left: none;
        border-top: 1px solid #E5E7EB;
    }

    .property-details-content {
        max-width: 100%;
        padding-right: 0;
        padding-top: 0;
    }

    .calculator-content {
        position: relative;
        max-width: 100%;
        padding: 24px 0 0;
        max-height: none;
        border: 1px solid #E5E7EB;
        padding: 16px;
        border-radius: 16px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .property-detail-modal {
        padding: 16px 12px;
    }

    /* Reorder sections for mobile - calculator at bottom */
    .property-detail-modal .row {
        display: flex;
        flex-direction: column;
    }

    .property-details-section {
        order: 1;
    }

    .investment-calculator-section {
        order: 2;
        padding-top: 24px;
        margin-top: 24px;
        border-top: 1px solid #E5E7EB;
        padding-left: 0;
    }

    .calculator-content {
        position: relative;
        max-height: none;
    }

    .property-image-container {
        height: 250px;

        .carousel-btn {
            width: 36px;
            height: 36px;

            svg {
                width: 20px;
                height: 20px;
            }
        }
    }

    .property-title-section .property-title {
        font-size: 24px;
        line-height: 32px;
    }

    .investment-details-tabs {
        padding: 20px 16px 1px;
        min-height: auto;
    }

    .tabs-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .tab-btn {
        width: auto;
        min-width: 120px;
        font-size: 16px;
    }

    .metrics-cards {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
    }

    .metric-card {
        width: calc(50% - 6px);
        min-width: 120px;
    }

    .features-tags {
        gap: 12px;
    }

    .feature-tag {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Small Mobile (576px) */
@media (max-width: 576px) {
    .modal-content-wrapper {
        padding: 12px 8px;
    }

    /* Ensure calculator stays at bottom on small mobile */
    .property-details-section {
        order: 1;
    }

    .investment-calculator-section {
        order: 2;
        padding-top: 24px;
        margin-top: 24px;
        border-top: 1px solid #E5E7EB;
        padding-left: 0;
    }

    .calculator-content {
        position: relative;
        max-height: none;
    }

    .property-image-container {
        height: 200px;

        .carousel-btn {
            width: 32px;
            height: 32px;
        }

        .carousel-btn.carousel-btn-prev {
            left: 8px;
        }

        .carousel-btn.carousel-btn-next {
            right: 8px;
        }
    }

    .property-title-section .property-title {
        font-size: 20px;
        line-height: 28px;
    }

    .section-heading {
        font-size: 18px;
    }

    .detail-card {
        padding: 12px;
        height: auto;
        min-height: 80px;
    }

    .investment-details-tabs {
        padding: 16px 12px 1px;
    }

    .calculator-title {
        font-size: 22px;
    }

    .metric-card {
        width: 100%;
    }

    .expected-returns {
        gap: 12px;
    }

    .return-item {
        padding: 12px;
        height: auto;
        min-height: 70px;
    }
}

