/* ntelioUI Application Layout — variables are in variables.css */

html,
body {
    font-family: var(--bs-body-font-family);
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--page-background);
}

#page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: var(--page-background);
}

#content-wrapper {
    flex: 1;
    min-height: 0;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: .5em;
    padding-left: 10px;
    padding-top: 10px;
}

#content-wrapper > * {
    height: 100%;
    overflow-y: auto;
}

#footer {
    height: 1.2em;
    background-color: #f8f9fa;
    flex-shrink: 0;
    width: 100%;
    border-top: 1px solid #dee2e6;
}

#footer .footer-text {
    text-align: center;
    font-size: 0.8em;
    color: #6c757d;
}

/* Ensure application container takes full height */
#application {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Custom scrollbar styling */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
