﻿.ktLargeText {
    font-size: var(--largeText);
}

.ktBigText {
    font-size: var(--bigText:);
}

.ktRegularText {
    font-size: var(--regularText:);
}

.ktMediumText {
    font-size: var(--mediumText);
}

.ktSmallText {
    font-size: var(--smallText);
}

.ktExtraSmallText {
    font-size: var(--extraSmallText);
}

.ktTinyText {
    font-size: var(--tinyText);
}

.ktFont600 {
    font-weight: 600;
}

.ktBoxToogleLayout {
    position: fixed;
    top: 12px;
    right: 10px;
}

.ktMarginHeader {
    margin-bottom: 36px;
    margin-top: 0;
}

.ktSmallBox {
    width: 100%;
    max-width: 520px;
    background-color: var(--white);
    border-radius: 25px;
    box-shadow: 0 4px 14.5px 0 rgba(0,0,0,0.15);
    padding: 48px;
}

.ktMainBox {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 14.5px 0 rgba(0,0,0,0.15);
    padding: 48px;
}

.ktListBox {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 14.5px 0 rgba(0,0,0,0.15);
    padding: 24px;
}

.ktBadgeSuccess, .ktBadgeDanger {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: var(--tinyText);
}

.ktBadgeSuccess {
    background-color: var(--success);
    color: var(--white);
}

.ktBadgeDanger {
    background-color: var(--danger);
    color: var(--black);
}

.ktPaddingBig {
    padding: 48px;
}

.ktLogo {
    width: 100%;
    max-width: 60px;
    margin-top: 30px;
}

.ktLogoWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.ktLogoImg {
    width: 100%;
    max-width: 72px;
}

.ktTextAccent {
    color: var(--primary);
}

.ktError {
    font-size: var(--tinyText);
    color: var(--danger);
    margin-top: 2px;
}

.ktCursorPointer {
    cursor: pointer;
}

/* Links & hover */
.ktHoverDark {
    color: var(--primary);
    transition: .3s color;
    text-decoration: none;
    cursor: pointer;
}

    .ktHoverDark:hover {
        color: var(--primaryHover);
        text-decoration: underline;
    }


/* Display & flex helpers */
.ktDiplayCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ktDiplayBetween {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ktDiplayCenterColumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.ktRotate180 {
    transform: rotate(180deg);
    transition: transform .2s ease;
}

/* 4) Sidebar – layout & state */
.ktSidebar {
    display: flex;
    flex-direction: column;
    align-self: start;
    background: var(--kt-sidebar-bg) !important;
    color: var(--kt-sidebar-fg) !important;
    border-right: 0;
    position: sticky;
    width: 300px;
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    transform: none;
    box-shadow: none;
    overflow: auto;
    overscroll-behavior: contain;
}


.ktHoverLight {
    color: var(--light);
    transition: .3s color;
    text-decoration: none;
    cursor: pointer;
}

    .ktHoverLight:hover {
        color: var(--lightHover);
    }

/* 5) Navigation */
.ktSidebarNav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .25rem;
    border-radius: var(--kt-radius);
}

/* Keep nav as static layout by default */
.ktNav {
    position: static;
    margin: 20px 0;
}

.ktNavPill {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: -webkit-fill-available;
    padding: .6rem .9rem;
    border-radius: var(--kt-radius);
    color: var(--kt-navPill) !important;
    text-decoration: none !important;
    background: transparent;
    border: 0;
    margin: 10px 20px;
    transition: background .2s ease, color .2s ease;
}

    .ktNavPill:hover,
    .ktNavPill:focus {
        background: rgba(255,255,255,.08);
        text-decoration: none;
    }

.ktNavPillSub {
    padding-left: 1.8rem !important;
    opacity: .95;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: var(--kt-radius);
    color: var(--kt-navPill);
    text-decoration: none !important;
    background: transparent;
    border: 0;
    transition: background .2s ease, color .2s ease;
    cursor: pointer;
}

.ktAdditionalMenu {
    background-color: #2C456B;
    padding: 10px 0;
    margin: 10px 0;
}

.ktIconMenuCircle {
    background-color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 0;
}

/* Normalize icon circle in nav so item height stays consistent */
.ktNavPill .ktIconMenuCircle {
    width: 24px;
    height: 24px;
}

    .ktNavPill .ktIconMenuCircle i,
    .ktNavPill .ktIconMenuCircle [class*="IconName"],
    .ktNavPill .ktIconMenuCircle svg {
        font-size: 14px; /* fit into 24px circle */
        line-height: 1;
    }

.ktNavPillCollapser {
    cursor: pointer;
}

.ktBtnLogOut {
    width: -webkit-fill-available;
}

.ktNavPillCollapser > .bi,
.ktNavPillCollapser > [class*="IconName"] {
    transition: transform .2s ease;
}

.ktNavPill.ktActive {
    background: var(--menuActive);
    color: var(--kt-navPillActive);
    font-weight: 600;
    position: relative;
}

/* Collapse */
.ktCollapse {
    padding-block: .25rem .5rem;
    display: none;
}

    .ktCollapse.is-open {
        display: block;
    }

/* Mobile-only helpers */
.ktMobileOnly {
    display: none;
}

/* 6) Footer / user tile */
.ktUserTile {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: .6rem;
    align-items: center;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: .6rem .7rem;
    overflow: hidden;
    margin: 20px
}

.ktTextFooter {
    color: #7B7B7B;
}

.ktUserLabelValue {
    font-weight: 700;
    text-transform: uppercase;
}

.ktUserLabel {
    opacity: .75;
    font-size: var(--extraSmallText);
}

/*layout*/
.ktLayoutContainer {
    position: relative;
    display: flex;
    height: calc(100dvh - var(--header-h));
    flex-direction: row;
    background: linear-gradient(to bottom, var(--kt-layout-grad-start), var(--kt-layout-grad-end));
}

.ktHamburger {
    color: var(--kt-hamburger);
}

@media (max-width: 992px) {
    .ktSidebar {
        position: fixed;
        height: 100%;
        z-index: 1045;
        width: 100%;
        inset: 0 auto 0 0;
        transform: translateX(-100%);
        transition: transform .25s ease, box-shadow .25s ease;
        box-shadow: none;
    }

    .ktMainBox {
        padding: 24px;
    }

    .ktSidebar.is-open {
        transform: translateX(0);
        box-shadow: var(--kt-shadow);
    }

    .ktSidebarBackdrop {
        position: fixed;
        z-index: 1040;
        inset: 0;
        background: rgba(0,0,0,.4);
        backdrop-filter: blur(1px);
    }

    .ktMobileOnly {
        display: flex;
    }

    .ktSmallBox {
        width: 100%;
        padding: 24px;
    }

    .ktPaddingBig {
        padding: 32px 12px;
    }

    .ktLogo {
        max-width: 46px;
    }

    .ktLogoImg {
        width: 100%;
        max-width: 42px;
    }

    .ktLogoWrapper {
        gap: 10px;
    }

    .ktMarginHeader {
        margin-bottom: 16px;
        margin-top: 16px;
    }
}


@media (max-width: 576px) {
    .ktLogoImg {
        width: 100%;
        max-width: 42px;
    }

    .ktLogoWrapper {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

.ktDetailsList dt {
    font-weight: 600;
    color: var(--primary);
    font-size: var(--tinyText);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.ktDetailsList dd {
    font-size: var(--tinyText);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin-bottom: 0;
}

    .ktDetailsList dt:last-of-type,
    .ktDetailsList dd:last-of-type {
        border-bottom: none;
    }

@media (min-width: 768px) {
    .ktDetailsList dt {
        font-size: var(--extraSmallText);
    }

    .ktDetailsList dd {
        font-size: var(--extraSmallText);
    }
}

.ktDetailsWrapper {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease, opacity .3s ease;
    opacity: 0;
}

    .ktDetailsWrapper.expanded {
        max-height: 1200px;
        opacity: 1;
    }

.ktDetailsInner {
    animation: slideFade .4s ease;
}

@keyframes slideFade {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ktToggleBtn {
    text-decoration: none;
}

    .ktToggleBtn:hover {
        text-decoration: underline;
    }

.ktToggleBtnContent {
    display: inline-block;
    min-width: 7.5rem;
    text-align: left;
}

@media (max-width: 576px) {
    .ktToggleBtnContent {
        min-width: 6.5rem;
    }
}
