#app {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: auto 1fr;
    grid-template-areas:
    "header header"
    "sidebar main";

    width: 100%;
}

.top-bar {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-septennary);
    position: relative;
}
.top-bar::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: transparent;
    border: 3px solid #2FBED2;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: normal;
}

.top-bar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 320px;
    padding: var(--space-md);
}

.top-bar-logo img {
    width: auto;
    height: 39px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-bar-logo img:hover {
    opacity: 0.8;
}

.top-bar-logo svg:hover {
    opacity: 0.8;
}

.top-bar-logo-closen{
    align-self: center;
    padding: var(--space-md);
}

.top-bar-logo-closen img{
    width: auto;
    height: 30px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-bar-logo-closen svg{
    width: auto;
    height: 30px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-bar-logo-closen svg:hover{
    opacity: 0.8;
}

#clientNameTopBar{
    margin-left: var(--space-sm);
}

.main-content {
    grid-area: main;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;

    background: var(--bg-log-reg);
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
}

.top-bar-actions{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 15px;
    padding: var(--space-md);
}

.profile-btn {
    background-color: var(--accent-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.profile-btn:hover {
    background-color: var(--accent-primary-hover);
}

.profile-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.user-full-name{
    font-weight: 600;
    font-size: var(--font-size-md);
    line-height: 1.4;
    letter-spacing: 0;
    vertical-align: middle;
    text-transform: uppercase;

    color: var(--text-primary);

    display: flex;
    align-items: center;
    margin-right: 10px;
}

#app .theme-toggle{
    padding: 0;
}

#app .theme-toggle .icon{
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

body.light-theme ::-webkit-scrollbar {
    width: 10px;
}
body.light-theme ::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}
body.light-theme ::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
    border: 2px solid #f5f5f5;
}
body.light-theme ::-webkit-scrollbar-thumb:hover {
    background-color: #b3b3b3;
}

body.dark-theme ::-webkit-scrollbar {
    width: 10px;
}
body.dark-theme ::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}
body.dark-theme ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #1a1a1a;
}
body.dark-theme ::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}


.selection-toolbar-desktop {
    display: none;
}

.selection-toolbar-desktop {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    padding: 8px 0;
    gap: 12px;
}

.selection-toolbar-desktop .sel-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.sel-btn {
    appearance: none;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .06s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
    box-shadow: 0px 2px 4px 0px #00000040;

    min-width: 150px;
    height: 40px;

    font-weight: 400;
    font-size: var(--font-size-lg);
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;

}

.sel-btn--cancel{
    min-width: 100px;
    margin-right: var(--space-xl);
}


.sel-btn--select-all,
.sel-btn--unselect-all,
.sel-btn--cancel {
    background: var(--text-eighthly);
    color: #FFFFFF;
}
.sel-btn--select-all:hover,
.sel-btn--unselect-all:hover,
.sel-btn--cancel:hover {
    filter: brightness(1.08);
}
.sel-btn--select-all:active,
.sel-btn--unselect-all:active,
.sel-btn--cancel:active {
    transform: translateY(1px);
}

.sel-btn--export {
    background: var(--bg-transparent);
    color: var(--text-eighthly);
    border: 3px solid var(--text-eighthly);

    font-weight: 600;
    font-size: var(--font-size-lg);
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;

}
.sel-btn--export:hover {
    filter: brightness(1.05);
}
.sel-btn--export:active {
    transform: translateY(1px);
}

@media (max-width: 1130px) {
    .top-bar-logo{
        width: 300px;
    }
}

