/* ROSAPP/wwwroot/css/offcanvas.css */

.ros-offcanvas-shell {
    height: 100vh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* HEADER */

.ros-offcanvas-header {
    flex: 0 0 73px;
    height: 73px;
    min-height: 73px;
    max-height: 73px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: .75rem;
}

.ros-offcanvas-title-area {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

    .ros-offcanvas-title-area .offcanvas-title {
        font-weight: 800;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* BODY */

.ros-offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: .75rem;
}

/* FOOTER
   Header 73px.
   Footer iki kat: 146px.
*/

.ros-offcanvas-footer {
    flex: 0 0 146px;
    height: 146px;
    min-height: 146px;
    max-height: 146px;
    background: #fff;
    padding: .75rem;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.ros-footer-main-btn {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto;
    font-size: 2rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ros-offcanvas-footer .xp-ok-btn {
    width: 100% !important;
    height: 100% !important;
}

/* NUMERIC BODY LAYOUT
   Numeric olan offcanvaslarda body dikeyde 50 / 50 bölünür.
*/

.ros-numeric-body {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: .75rem;
}

.ros-numeric-top,
.ros-numeric-bottom {
    min-height: 0;
    overflow: hidden;
}

.ros-numeric-top {
    display: flex;
    flex-direction: column;
}

.ros-numeric-bottom {
    display: flex;
    flex-direction: column;
}

/* DIGITAL İLE NUMERIC ARASINDAKİ İŞLEM BUTONLARI */

.ros-actions-area {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    gap: .5rem;
}

.ros-actions-row {
    min-height: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: .5rem;
}

.ros-action-btn {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

/* RESPONSIVE */

@media (max-width: 576px) {
    .ros-offcanvas-header {
        flex-basis: 66px;
        height: 66px;
        min-height: 66px;
        max-height: 66px;
        padding: .5rem;
    }

    .ros-offcanvas-footer {
        flex-basis: 132px;
        height: 132px;
        min-height: 132px;
        max-height: 132px;
        padding: .5rem;
    }

    .ros-offcanvas-body {
        padding: .5rem;
    }

    .ros-footer-main-btn {
        font-size: 1.8rem;
    }

    .ros-numeric-body {
        gap: .5rem;
    }

    .ros-actions-area,
    .ros-actions-row {
        gap: .4rem;
    }
}


