﻿
.rz-dialog-content {
    height: 100%;
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(odd) > td {
    background-color: transparent;
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(even) > td {
    background-color: transparent;
}

.rz-panel-menu {
    background-color: transparent;
}

    .rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
        background-color: transparent;
    }

.rz-body {
    padding: 0px 5px;
}

.rz-button-md .rzi {
    font-size: 1.25rem;
    height: 30px;
    line-height: 1.25rem;
    width: 40px;
}



.card-custom {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: fit-content; /* Adjust width based on content */
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-circle img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

.desktop-icon-card {
    transition: transform 0.3s ease-in-out;
    transform: scale(1); /* base scale */
}

    .desktop-icon-card:hover {
        transform: scale(1.1); /* zoom in slightly on hover */
        cursor: pointer;
        z-index: 1000;
    }



.rz-dialog-content {
    height: 100%;
}

.rz-panel-menu {
    background-color: transparent;
}

    .rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
        background-color: transparent;
    }

.rz-body {
    padding: 0px 5px !important;
}

.rz-button-md .rzi {
    font-size: 1.25rem;
    height: 30px;
    line-height: 1.25rem;
    width: 40px;
}



.card-custom {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: fit-content; /* Adjust width based on content */
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-circle img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

.desktop-icon-card {
    transition: transform 0.3s ease-in-out;
    transform: scale(1); /* base scale */
}

    .desktop-icon-card:hover {
        transform: scale(1.1); /* zoom in slightly on hover */
        cursor: pointer;
        z-index: 1000;
    }



.desktop-icon-card {
    width: 230px;
}

.Search-Card {
    width: 50%;
}
/* Mobile only */
@media (max-width: 767px) {

    .desktop-icon-card, .Search-Card {
        width: 97%;
    }
    /* background color aara he  */
    .listSelector-Mode-Radzon-Main {
        background-color: transparent;
        padding: 2px !important;
    }

    .rz-card {
        padding: 2px !important;
    }

    .rz-tabview-panel {
        padding: 1px !important;
    }

    .fcgroup {
        margin: 10px 0px !important;
    }
}

/*  .app-footer {
                        background-color: #f8f9fa;
                        padding: 5px 10px;
                        font-size: 14px;
                    }

                    .footer-container {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                    }

                    .footer-left {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                    }

                    .footer-logo {
                        height: 50px;
                        width: 100px;
                    }

                    .footer-contact {
                        display: flex;
                        flex-direction: column;
                    }

                        .footer-contact a,
                        .footer-contact span {
                            color: #6c757d;
                            text-decoration: none;
                        }

                    .footer-right {
                        color: #6c757d;
                    }

                    @media (max-width: 767px) {
                        .footer-container {
                            flex-direction: column;
                            text-align: center;
                            gap: 8px;
                        }

                        .footer-left {
                            flex-direction: column;
                        }

                        .footer-contact {
                            align-items: center;
                        }

                        .footer-logo {
                            height: 60px;
                            width: auto;
                        }

                        .footer-right {
                            font-size: 12px;
                        }

                        .rz-body {
                            overflow-y: auto;
                            -ms-overflow-style: none;
                            scrollbar-width: none;
                        }

                            .rz-body::-webkit-scrollbar {
                                display: none;
                            }
                    }

                    @media (max-width: 767px) {
                        .mobile-nav-btn {
                            width: 40px !important;
                            height: 30px !important;
                            min-width: unset !important;
                            min-height: unset !important;
                            max-width: unset !important;
                            max-height: unset !important;
                            padding: 4px !important;
                        }

                            .mobile-nav-btn img {
                                width: 25px !important;
                                height: 25px !important;
                                object-fit: contain;
                            }
                    } */



.drawer-backdrop {
    display: none;
}
/* Mobile drawer only */
@media (max-width: 767px) {
    /* Sidebar as drawer */
    .mobile-drawer {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1200;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    /* When expanded */
    .rz-sidebar-expanded.mobile-drawer {
        transform: translateX(0);
    }
    /* Backdrop */
    .drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1199; /* BELOW sidebar */
    }

    body:has(.rz-sidebar-expanded) {
        overflow: hidden;
    }
}




.app-footer {
    background-color: #f8f9fa;
    padding: 5px 10px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 50px;
    width: 100px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

    .footer-contact a,
    .footer-contact span {
        color: #6c757d;
        text-decoration: none;
    }

.footer-right {
    color: #6c757d;
}

/* Hidden by default */
.footer-mobile-icons {
    display: none;
}

.desktop-hidden {
    display: none;
}

.rz-datepicker {
    position: relative !important;
}

@media (max-width: 767px) {
    .Mob-wrap {
        flex-wrap: wrap !important;
    }

    .DIScrollViwerDIPanel {
        height: calc(100vh - 100px);
    }

    .changeHeightTab {
        max-height: calc(89vh - 95px) !important;
    }

    .mobile-height-auto, .VTabSet-Bodysecond, .VTabSet-Body {
        height: auto !important;
    }

    .desktop-hidden {
        display: block !important;
    }

    .VTabSet-Bodysecond {
        padding: 0px !important;
    }

    .mobile-nav-btn {
        display: none !important;
    }

    .app-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 8px 12px 0px 12px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    /* Hide desktop content */
    .footer-contact,
    .footer-right {
        display: none;
    }
    /* Mobile icons */
    .footer-mobile-icons {
        display: flex;
        gap: 30px;
        font-size: 22px;
        color: #6c757d;
    }

        .footer-mobile-icons i {
            cursor: pointer;
        }

    .footer-left {
        flex-direction: row;
    }

    .icon-btn {
        flex: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        touch-action: manipulation;
    }

        .icon-btn span {
            font-size: 26px;
        }
        /* Optional tap feedback */
        .icon-btn:active {
            background-color: rgba(0, 0, 0, 0.08);
        }

    .footer-logo {
        height: 50px;
        width: auto;
    }
    /* Prevent body scroll issues */
    .rz-body {
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 65px !important; /* space for bottom bar */
    }

        .rz-body::-webkit-scrollbar {
            display: none;
        }
}



/* Backdrop */
.bottom-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    animation: fadeIn 0.2s ease-out;
}

    .bottom-sheet-backdrop.fade-out {
        animation: fadeOut 0.25s ease-in forwards;
    }

/* Bottom Sheet */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .bottom-sheet.slide-down {
        animation: slideDown 0.25s ease-in forwards;
    }

/* Handle */
.bottom-sheet-handle {
    width: 36px;
    height: 4px;
    background: #ccc;
    border-radius: 2px;
    margin: 8px auto 6px;
}

/* Header */
.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.sheet-title {
    font-size: 16px;
    font-weight: 600;
}

/* Close icon */
.close-icon {
    cursor: pointer;
    font-size: 22px;
    padding: 6px;
    border-radius: 50%;
}

    .close-icon:hover {
        background: #f2f2f2;
    }

/* Content */
.bottom-sheet-content {
    padding: 8px 12px;
    overflow-y: auto;
}

/* Tab Items */
.sheet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

    .sheet-item:hover {
        background: #f5f5f5;
    }

.item-icon {
    font-size: 22px;
    color: #666;
}

.item-text {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
    padding-top: 40px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 8px;
    color: #ccc;
}

.empty-state p {
    font-size: 14px;
    font-weight: 500;
}




.SpacerAboveGrid {
    height: 26px;
    gap: 5px;
    margin: 7px 13px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.changeHeightTab {
    max-height: calc(95vh - 95px)
}

.rz-card {
    padding: 2px !important;
}

.rz-tabview-panel {
    padding: 1px !important;
}
/* background color aara he  */
.listSelector-Mode-Radzon-Main {
    background-color: transparent;
    padding: 2px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-height-auto, .VTabSet-Bodysecond, .VTabSet-Body {
        height: auto !important;
    }

    .DIScrollViwerDIPanel {
        height: calc(100vh - 110px);
    }

    .changeHeightTab {
        max-height: calc(92vh - 120px)
    }

    .desktop-hidden {
        display: block !important;
    }

    .VTabSet-Bodysecond {
        padding: 0px !important;
    }

    .mobile-nav-btn {
        display: none;
    }

    .app-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 8px 12px 0px 12px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    /* Hide desktop content */
    .footer-contact,
    .footer-right {
        display: none;
    }
    /* Mobile-style icons */
    .footer-mobile-icons {
        display: flex;
        gap: 30px;
        font-size: 22px;
        color: #6c757d;
    }

        .footer-mobile-icons i {
            cursor: pointer;
        }

    .footer-left {
        flex-direction: row;
    }

    .icon-btn {
        flex: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        touch-action: manipulation;
    }

        .icon-btn span {
            font-size: 26px;
        }

        .icon-btn:active {
            background-color: rgba(0, 0, 0, 0.08);
        }

    .footer-logo {
        height: 50px;
        width: auto;
    }
    /* Prevent body scroll issues */
    .rz-body {
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 65px !important;
    }

        .rz-body::-webkit-scrollbar {
            display: none;
        }
}

@media (min-width: 768px) and (max-width: 1100px) {
    /* Sidebar as drawer */
    .mobile-drawer {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1200;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    /* When expanded */
    .rz-sidebar-expanded.mobile-drawer {
        transform: translateX(0);
    }
    /* Backdrop (hidden by default) */
    .drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1199; /* BELOW sidebar */
    }

    body:has(.rz-sidebar-expanded) {
        overflow: hidden;
    }

    .rz-card {
        padding: 2px !important;
    }

    .rz-tabview-panel {
        padding: 1px !important;
    }
    /* background color aara he  */
    .listSelector-Mode-Radzon-Main {
        background-color: transparent;
        padding: 2px !important;
    }

    .Mob-wrap {
        flex-wrap: wrap !important;
    }
}



.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* full viewport height */
    overflow: hidden; /* prevent body scroll */
}

.content-area {
    flex: 1 1 auto; /* grow to fill available space above footer */
    overflow: auto; /* scroll if content overflows */
    background-image: url('./images/body-top.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 30% auto;
    overflow-x: hidden;
}

/*.content-area {
    height: auto !important;*/ /* neutralize calc(100vh - 60px) */
    /*max-height: none !important;
    min-height: 0 !important;
    flex: 1 1 auto;
    overflow-y: hidden !important;*/ /* allow content to size naturally */
    /*overflow-x: hidden;
    background-image: url('./images/body-top.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 30% auto;
}*/




/* Mobile only */
@media (max-width: 767px) {
    /* Convert table rows into stacked layout */
    .responsive-panel-table table, .responsive-panel-table tbody, .responsive-panel-table tr {
        display: block;
        width: 100%;
    }
    /* Each cell becomes full-width */
    .responsive-panel-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
        /* Force each control to span 2 columns (single row) */
        .responsive-panel-table td[colspan="2"] {
            width: 100% !important;
        }
    /* Add spacing between fields */
    .responsive-panel-table tr {
        margin-bottom: 12px;
    }
}
