.side-nav .menuitem-active > a {
    background: var(--nx-menu-item-background-active);
}

.logo {
    display: flex;
}

::placeholder {
    color: var(--nx-gray-300) !important;
}

span.logo-lg.bg-light {
    width: 210px;
    padding-left: 1.5rem;
    background-color: transparent !important;
}

#leftside-menu-container .dropdown-item.active {
    background-color: var(--nx-menu-item-background-active);
}

body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
.wrapper
.leftside-menu
.logo
.button-menu-mobile
open-left {
    display: flex;
    height: 50px;
}

.nx-input-search {
    border-radius: var(--nx-s4);
    border: 1px solid var(--nx-gray);
}

    .nx-input-search input {
        font-size: var(--nx-s16);
        line-height: var(--nx-s24);
    }

    .nx-input-search .k-input-solid {
        color: var(--ct-gray-300) !important;
        background-color: var(--nx-gray-50) !important;
    }

    .nx-input-search .k-clear-value {
        color: var(--nx-gray-800);
    }

.header-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--nx-gray);
    background-color: var(--nx-gray-25);
    color: var(--nx-gray-500) !important;
    border-radius: var(--nx-s4);
}

.notification-list .header-icon .noti-icon-badge {
    top: 4px;
    right: 5px;
}

.navbar-custom .app-search {
    display: block !important;
}

.nx-avatar {
    width: 38px;
    height: 38px;
    border-radius: 4px;
}

.navbar-custom .topbar-menu .nav-link {
    margin: 0 5px;
}

.nx-header-avatar {
    background-color: var(--nx-white);
    border: none;
    text-align: left !important;
}

    .nx-header-avatar h5 {
        color: var(--nx-text);
    }

    .nx-header-avatar h6 {
        color: var(--nx-gray-500);
    }

    .nx-header-avatar i {
        color: var(--nx-gray-500);
        font-size: 24px;
    }

.leftside-menu {
    border-right: 1px solid var(--nx-gray-100);
}

    .leftside-menu .logo.text-left {
        border-right: 1px solid var(--nx-gray-100);
    }
/*mobile side menu tamamen açılması için*/
@media (max-width: 767.98px) {
    .leftside-menu {
        width: 100% !important;
    }
}
/*left bar tamamen kapanması için*/
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
.wrapper
.content-page {
    margin-left: 0px !important;
}

body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
.wrapper
.leftside-menu {
    display: none !important;
}

body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
.wrapper
.footer,
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
.wrapper
.navbar-custom {
    left: 0px !important;
}

.navbar-custom {
    box-shadow: none !important;
    border-bottom: 1px solid var(--nx-gray-50) !important;
}
/*left bar tamamen kapanması için*/
/* page içindeki container */
.nx-container {
    padding: var(--nx-s16);
}
/* page içindeki header */
.nx-container-header {
    padding: var(--nx-s14) 0px var(--nx-s14) 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 70px;
}

@media (max-width: 768px) {
    .nx-container-header {
        padding: 8px 16px;
    }
}

.nx-container-header h1 {
    color: var(--nx-gray-600);
    font-size: var(--nx-s20);
    font-weight: 400;
    font-weight: 600;
}

.nx-container-header h5 {
    color: var(--nx-gray-300);
    font-size: var(--nx-s12);
    line-height: var(--nx-s16);
    font-weight: 400;
}

.nx-container-header .k-button-text {
    font-size: var(--nx-s14);
    line-height: var(--nx-s20);
    font-weight: 400;
}

.nx-btn-group {
    display: flex;
    align-items: center;
    gap: var(--nx-s6);
}

.nx-container-footer {
    padding: var(--nx-s18) 0px var(--nx-s18) 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nx-wrapper {
    padding: var(--nx-s12) var(--nx-s18) !important;
    border-radius: var(--nx-s8) !important;
    border: 1px solid var(--nx-gray-100) !important;
    background-color: var(--nx-gray-50) !important;
    margin: var(--nx-s8) 0px;
}

    .nx-wrapper label {
        color: var(--nx-gray-800);
        font-size: var(--nx-s14);
        line-height: var(--nx-s20);
        margin-bottom: var(--nx-s6);
        font-weight: 400;
    }

    .nx-wrapper h2 {
        color: var(--nx-gray-800);
        font-size: var(--nx-s16);
        line-height: var(--nx-s24);
        margin-bottom: var(--nx-s24);
        font-weight: 600;
    }

/**  Breadcrumb  **/
.nx-breadcrumb {
    width: auto;
}

    .nx-breadcrumb a {
        color: var(--nx-gray-300);
    }

        .nx-breadcrumb a:hover, .nx-breadcrumb a:hover h5 {
            color: var(--ct-primary);
        }

        .nx-breadcrumb a h5 {
            margin: 0;
        }


/**   Nav    **/

.nx-nav {
    border-radius: 8px;
    background-color: var(--nx-gray-50) !important;
    border: 1px solid var(--nx-gray-100) !important;
    color: var(--nx-gray-600) !important;
    overflow: hidden;
}

    .nx-nav .nav-item a {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .nx-nav .nav-item a:hover {
            background-color: var(--nx-gray-100);
            color: var(--nx-gray-600);
        }

        .nx-nav .nav-item a.active {
            background-color: var(--nx-gray-600);
        }

            .nx-nav .nav-item a.active:hover {
                color: var(--nx-white);
                background-color: var(--nx-gray-600);
            }

/**   Avatar   **/
.nx-avatar {
    display: flex;
    background-color: var(--ct-primary);
    color: var(--nx-white);
    border-radius: 1000px;
    align-items: center;
    justify-content: center;
}



/**   Text Dangers    **/
.nx-text-danger ul li {
    background: #fbe3e3;
    border-radius: 4px;
    padding: 4px 8px;
    border: 1px solid #f4c1c1;
    color: #b12121 !important;
    margin: 2px 0px;
    list-style-type: none;
}

.nx-text-danger ul {
    margin: 0;
    padding: 0;
}

.nx-text-danger {
    margin: 16px 0;
}


/**   Layouts    **/
.wrapper .content-page {
    padding: 0 !important;
    min-height: 100vh;
}

    .wrapper .content-page .content + div {
        position: relative;
    }

/* Fix for main-content and navbar overlap */
#main-content {
    margin-top: 70px; /* Navbar height */
    padding-top: 0;
}

/* Ensure proper spacing for pages without nx-full-layout */
.wrapper .content-page main {
    margin-top: 70px;
}

/* Mobile responsive fix */
@media (max-width: 767.98px) {
    #main-content,
    .wrapper .content-page main {
        margin-top: 60px; /* Slightly smaller margin for mobile */
    }
}

.nx-full-layout {
    height: calc(100vh - 70px);
    width: 100%;
    margin: 70px 0 0 0;
    padding: 0;
}

.nx-full-layout-w-header {
    height: calc(100vh - 166px);
    width: 100%;
    margin: 0 0 0 0;
    padding: 0;
}



/** Buttons **/
.nx-absolute-btn-wrapper {
    position: absolute;
    z-index: 999;
    right: 8px;
    top: 5.0rem; /* Adjusted to work with new main-content margin */
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    display: flex;
    align-items: center;
}

    .nx-absolute-btn-wrapper button {
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        color: var(--nx-gray-600);
        border: none;
        padding: 8px 9px;
        margin-left: 4px;
        font-size: 13px;
        height: 32px;
    }

        .nx-absolute-btn-wrapper button i {
            color: var(--nx-gray-600);
            font-size: 14px;
        }

        .nx-absolute-btn-wrapper button:hover {
            background-color: var(--nx-gray-50);
            color: var(--nx-gray-600);
        }


/**   Dashboards    **/
.dashboard .nx-card {
    background-color: var(--nx-gray-50);
    border-radius: 12px;
    padding: 14px 24px;
}

    .dashboard .nx-card div div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dashboard .nx-card .nx-card-number {
        font-size: 28px;
    }

.nx-card.small {
    min-height: auto;
    padding: 0.5rem;
}

    .nx-card.small .primary-text {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        color: #6c757d;
    }

    .nx-card.small .nx-card-number {
        font-size: 1.25rem;
        font-weight: 600;
        color: #212529;
    }

    .nx-card.small .text-muted {
        font-size: 0.75rem;
        color: #6c757d;
    }

    .nx-card.small .text-center {
        padding: 0.25rem 0;
    }

    .nx-card.small .d-flex.flex-column {
        gap: 0.25rem;
    }

.contract-checkboxes {
    margin-top: 1.5rem;
}

.contract-row {
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.contract-link {
    color: #a020f0;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
}

    .contract-link:hover {
        color: #7c1bb3;
        text-decoration: underline;
    }

.form-check-input:checked {
    background-color: #a020f0;
    border-color: #a020f0;
}

.form-check-input {
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.2em;
}

.form-check-label {
    font-size: 1.05em;
}

.register-label {
    margin-bottom: 0px !important;
    align-items: center;
    margin: auto;
    font-size: 11px !important;
}
.k-columns-item.k-item.k-menu-item {
    display: none !important;
}
.k-column-menu > ul.k-menu-vertical > li.k-menu-separator.k-item:nth-of-type(3) {
    display: none !important;
}

/* Help & Support Section */
.help-support-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.help-support-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.help-support-content i {
    font-size: 28px;
    color: white;
    opacity: 0.9;
}

.help-support-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.help-support-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.help-support-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.help-support-email:hover {
    color: white;
    text-decoration: underline;
}

/* leftside-menu-container padding ayarı */
#leftside-menu-container {
    padding-bottom: 100px !important;
    position: relative;
}