﻿/*/css/site.layout.css*/
:root {
    --nav-height: 42px;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
}

body.identity-page {
    overflow-y: auto;
}

.navbar {
    min-height: var(--nav-height);
}

body > .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

main[role="main"] {
    height: calc(100dvh - var(--nav-height));
    min-height: 0;
    overflow: hidden;
}

body.identity-page main[role="main"] {
    min-height: calc(100dvh - var(--nav-height));
    height: auto;
    overflow-y: auto;
    padding-bottom: 24px !important;
}

.app-brand {
    display: flex;
    align-items: center;
}

.spinner {
    border: 3px solid rgba(0, 0, 0, .1);
    border-left-color: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.app-logo-text {
    margin-left: 8px;
    font-size: var(--atf-control-font-size, 12px);
    font-weight: bold;
    white-space: nowrap;
}

.app-logo {
    height: calc(var(--nav-height) - 2px);
    width: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 1px 0;
    border-radius: 8px;
}

.imgMenu {
    width: 1.15em !important;
    height: 1.15em !important;
    min-width: 1.15em;
    object-fit: contain;
    vertical-align: -0.15em;
    flex: 0 0 auto;
}

.nav-link img.imgMenu,
.dropdown-item img.imgMenu,
button img.imgMenu,
a img.imgMenu,
img[src*="/Assets/Icon/"] {
    width: 1.15em !important;
    height: 1.15em !important;
    min-width: 1.15em;
    object-fit: contain;
    vertical-align: -0.15em;
}

/* Căn trái từng mục */
.info-box ul li {
    text-align: left;
}


@media (max-width: 991.98px) {
    .app-logo-text {
        display: none;
    }
}


.main-container-card {
    width: 100% !important;
    height: 100%;
    min-height: 0;
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    border: 0 !important;
    border-radius: 0; /* Wrapper ngoài full màn thì không nên bo góc */
    box-shadow: none !important;
}
