html,
body,
#tenancy-contract-qr-landing-page,
#container-uiarea,
#container-tenancy-contract-qr-landing-page---appView,
.sapUiComponentContainer {
    /*height: 100%;*/
}

.sapUiBody{
	background-color: #fff;
}

.caseDetailsInner{
	width: 95%;
}

.marginHeader{
	margin: 16px 8px;
}
/*.bgImage {*/
/*    background-image: url(../assets/images/Rak-landscape-outline.svg);*/
/*    background-size: auto;*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-position: bottom;*/
    
/*}*/

/*.colorRed {*/
/*    color: rgba(191, 19, 19, 1);*/
/*}*/

/*.caseDetailsCard {*/
/*    height: calc(100vh - 268px);*/

/*}*/
/*.flexDirectionColumn{*/
/*	flex-direction: column;*/
/*}*/
/*.caseDetailsInner {*/
/*    background-color: #fff;*/
/*    border-radius: 4px;*/
/*    width: 900px;*/
/*}*/

/*.paddingWithoutBottom {*/
/*    padding: 24px 24px 0px 24px;*/
/*}*/

/*.borderBottom {*/
/*    border-bottom: 2px solid rgba(191, 19, 19, 1);*/
/*}*/

/*.paddingInlineEnd {*/
/*    padding-inline-end: 8px;*/
/*}*/

/*.paddingInlineStart {*/
/*    padding-inline-start: 8px;*/
/*}*/

/*.flexContainer {*/
/*    flex-direction: row;*/
/*}*/






/*@media (max-width: 900px) {*/
/*    .caseDetailsInner {*/
/*        width: 100%;*/
/*    }*/

/*}*/

/*@media (max-width: 550px) {*/
/*    .flexContainer {*/
/*        flex-direction: column;*/
/*    }*/


/*}*/
.caseDetailsPage .sapMPageEnableScrolling {
    background: #f8f3f4;
}

.titleCont {
    background: #F2F2F2;
}

.pageWrapper {
    min-height: 100%;
}

/* Header */
.topBar {
    height: 90px;
    padding: 0 2rem;
    background: #ffffff;
    border-bottom: 1px solid #ece7e8;
    box-sizing: border-box;
}

/* Main card */
.detailsCard {
    width: 100%;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    box-sizing: border-box;
    gap: 1.25rem;

}

/* Title */
.pageTitle {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2430;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-family: 'Alexandria', sans-serif;
}


/* Sections */
.infoSection {
    background: #f7f5f5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ece6e7;
    margin-bottom: 16px;
}

.sectionTitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: #2a2a2a;
    padding: 1rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    width: 100%;
}


.sectionTitle-AR {
    font-family: 'Alexandria', sans-serif;
}

.detailsTable {
    width: 100%;
    background-color: #fff;
}

.detailRow {
    width: 100%;
    /*align-items: center;*/
    border-top: 1px solid #ebe7e7;
    padding: 0;
    box-sizing: border-box;
    justify-content: space-between;
}

.detailRow:first-child {
    border-top: none;
}

/* Desktop row cells */
.labelEn,
.valueEn,
.valueAr,
.labelAr {
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    line-height: 1.4;
    font-size: 14px;
}


.labelEn {
    font-weight: 400;
    color: #000;
    width: 163px;
    font-family: 'Poppins', sans-serif;


}

.valueEn {
    /*font-weight: 600;*/
    color: #2f3440;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;


}

.valueAr {
    /*font-weight: 600;*/
    color: #2f3440;
        font-weight: 400;
    text-align: right !important;
    font-family: 'Alexandria', sans-serif;
}

.labelAr {
    font-weight: 400;
    color: #000;
    width: 155px;
    font-family: 'Alexandria', sans-serif;
    text-align: right !important;
}

/* Button */
.buttonWrapper {
    margin-top: 0.5rem;

}

.rakBtn.sapMBtn {
    min-width: 120px;
    cursor: pointer;
}

.rakBtn.sapMBtn .sapMBtnInner {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-family: 'Alexandria', sans-serif;
    font-weight: 500;
    line-height: 24px;
    height: 40px;
    min-width: 120px;
    padding: 0 24px;
    border-radius: 20px;
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rakBtn.sapMBtn .sapMBtnContent,
.rakBtn.sapMBtn .sapMBtnIcon {
    position: relative;
    z-index: 1;
    line-height: 24px;
    transition: color 0.2s ease;
}

.rakBtn.sapMBtn .sapMBtnContent {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.rakBtnPrimary {
    border: none;
    background: none;
}

.rakBtnPrimary.sapMBtn .sapMBtnInner {
    border: none !important;
    background: linear-gradient(90deg, #EB3642 0%, #990808 100%) !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .detailsCard {
        max-width: 880px;
    }

    .pageTitle {
        font-size: 1.75rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .columnResponsive {
        flex-direction: column;
    }

    .topBar {
        padding: 0 1rem;
        height: 78px;
    }

    .heroSection {
        min-height: calc(100vh - 78px);
        padding: 1.25rem 0.75rem 2rem;
        background-size: cover;
        background-position: center bottom;
    }

    .detailsCard {
        padding: 1rem;
        border-radius: 16px;
        gap: 1rem;
    }

    .pageTitle {
        font-size: 1.35rem;
    }

    .sectionTitle {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .detailRow {
        padding: 0.25rem 0;
    }

    .buttonWrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
    }

    .marginBottomRes {
        margin-bottom: 50px;
    }

    .labelEn,
    .valueEn,
    .valueAr,
    .labelAr {
        width: 100%;
        padding: 0.65rem 1rem;
        /*font-size: 0.95rem;*/
        /*justify-content: space-between;*/
        /*max-inline-size: 322px;*/
        /*overflow-wrap: break-word;*/
    }

    .labelEn,
    .labelAr {
        overflow-wrap: normal;
        word-break: keep-all;
        /*width: 96px !important;*/
    }


    .labelAr,
    .valueAr {
        text-align: right;
    }

    .downloadBtn,
    .downloadBtn .sapMBtnInner {
        width: 100%;
    }

    .downloadBtn .sapMBtnInner {
        padding: 0 1rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .labelEn,
    .valueEn,
    .valueAr,
    .labelAr {
        width: 100%;
        padding: 0.45rem 0.9rem;
    }

    /*.labelEn {*/
    /*    padding-bottom: 0.1rem;*/
    /*}*/

    /*.valueEn {*/
    /*    padding-top: 0.1rem;*/
    /*    padding-bottom: 0.55rem;*/
    /*}*/

    /*.valueAr {*/
    /*    padding-bottom: 0.1rem;*/
    /*}*/

    /*.labelAr {*/
    /*    padding-top: 0.1rem;*/
    /*    padding-bottom: 0.7rem;*/
    /*}*/
}
