body, html {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex; 
    height: 100%;
    width: 100%;
}

.layout-header {
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 1505;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 60px;
    text-align: center;
    padding: 0;
}

.dx-card {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

.dx-card.wide-card {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 0;
    border-left: 0;
}

.with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content {
    height: 100%;
}

.with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content > .dx-scrollview-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.layout-body {
    background-color: #f2f2f2;
    flex: 1;
    height: 100%;
    min-height: 0;
}

.layout-body .menu-container {
    height: 100%;
    width: 250px;
    background-color: #fff;
}

.layout-body .content {
    flex-grow: 1;
    height: 100%;
    line-height: 1.5;
    margin: 20px 40px;
}

.layout-body .content h2 {
    font-size: 32px;
    line-height: 40px;
}

.layout-body .content-block {
    margin: 0 0 20px;
}

.layout-body .content-footer {
    display: block;
    color: rgba(0,0,0,.609);
    border-top: 1px solid rgba(0,0,0,.1);
    padding-top: 20px;
    padding-bottom: 24px;
    margin: 0 40px;
}

.layout-body .responsive-paddings {
    padding: 20px;
}

.layout-body-hidden {
    visibility: hidden;
}

#layout-drawer.dx-drawer-shrink .dx-drawer-panel-content {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 2px 0px;
}

@media screen and (max-width: 600px) {
    .layout-body .content {
        margin: 20px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings {
        padding: 40px;
    }
}

.menu-container .dx-widget {
    font-weight: 700;
    font-size: 14px;
    font-family: Roboto,RobotoFallback,Helvetica,Arial,sans-serif;
    line-height: 24px;
}

.menu-container .dx-treeview {
    white-space: nowrap;
}

.menu-container .dx-treeview .dx-treeview-item {
    padding-left: 0;
    flex-direction: row-reverse;
    border-radius: 0;
}

.menu-container .dx-treeview .dx-treeview-item .dx-icon {
    width: 60px !important;
    margin: 0 !important;
}

.menu-container .dx-treeview .dx-treeview-node {
    padding: 0 0 !important;
}

.menu-container .dx-treeview .dx-treeview-toggle-item-visibility {
    right: 10px;
    left: auto;
}

.menu-container .dx-treeview .dx-rtl .dx-treeview-toggle-item-visibility {
    left: 10px;
    right: auto;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="1"] {
    font-weight: bold;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="2"] .dx-treeview-item-content {
    font-weight: normal;
    padding: 0 60px;
}
/* 1. Tüm Switch'in solukluğunu (opacity) düzelt */
.dx-switch.dx-state-disabled.dx-switch-on-value {
    opacity: 0.9 !important;
}

/* 2. Arka plan şeridinin rengi (DÜZELTME: Doğrudan ::before elementine uygulanmalı) */
.dx-switch.dx-state-disabled.dx-switch-on-value .dx-switch-container::before {
    background-color: #006628 !important; 
}

/* 3. Yuvarlak butonun (Handle) rengi (DÜZELTME: Bu da ::before ile çiziliyor) */
.dx-switch.dx-state-disabled.dx-switch-on-value .dx-switch-handle::before {
    background-color: #ffffff !important; 
}

.ozluk-change-bell-host {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.ozluk-change-bell-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    color: #1f5aa6;
    transition: background-color 0.2s ease;
}

.ozluk-change-bell-btn:hover {
    background-color: rgba(31, 90, 166, 0.12);
}

.ozluk-change-bell-btn .dx-icon {
    font-size: 18px;
}

.ozluk-change-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: #d9293a;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
}

#ozlukChangePopover .dx-overlay-content {
    border: 1px solid #d6dee9;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

#ozlukChangePopover .dx-popup-content {
    padding: 12px 14px;
    max-height: 420px;
    overflow: auto;
}

.ozluk-change-popover-content {
    font-size: 13px;
    color: #1f2f45;
}

.ozluk-change-panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #203040;
    margin-bottom: 8px;
}

.ozluk-change-panel-body {
    font-size: 13px;
    color: #1f2f45;
}

.ozluk-change-list {
    margin: 0;
    padding-left: 18px;
}

.ozluk-change-list li {
    margin: 0 0 6px 0;
}

.ozluk-change-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ozluk-change-name {
    flex-grow: 1;
    word-break: break-word;
}

.ozluk-change-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.ozluk-change-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid #c9d7e8;
    border-radius: 999px;
    background: #fff;
    color: #204b7a;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.ozluk-change-edit-btn:hover {
    background: #f3f8ff;
    border-color: #9eb7d8;
    text-decoration: none;
}

.ozluk-change-dismiss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #1f5aa6;
    font-size: 18px;
    padding: 0;
    min-width: auto;
    min-height: auto;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ozluk-change-dismiss-btn:hover {
    transform: scale(1.15);
    opacity: 0.8;
    background: transparent;
}

.ozluk-change-dismiss-btn:active {
    transform: scale(0.95);
}

.ozluk-change-item-detail {
    margin-top: 2px;
    font-size: 12px;
    color: #5b6b80;
    line-height: 1.35;
    white-space: pre-line;
}

.ozluk-change-more {
    margin-top: 4px;
    font-size: 12px;
    color: #5e6f84;
}

.ozluk-change-link {
    color: #1f5aa6;
    text-decoration: none;
}

.ozluk-change-link:hover {
    text-decoration: underline;
}

.ozluk-change-message {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e6edf5;
    color: #55657a;
    line-height: 1.35;
}

.ozluk-change-empty {
    color: #6a7b91;
    padding: 2px 0;
}
