.header {
    height: 100px;
    background: linear-gradient(135deg, #eef3ff 0%, #f6f8ff 100%);
    position: relative;
    box-shadow: 0 2px 15px rgba(0,158,247,0.08);
    border-bottom: 1px solid rgba(0,158,247,0.1);
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/assets/themes/main/images/44420719_9094466.jpg");
        opacity: 0.1;
        pointer-events: none;
        mix-blend-mode: multiply;
    }

    /* Logo Container */
    .header .d-flex.align-items-center.me-5 {
        position: relative;
        gap: 1rem;
    }

    /* Logo Image */
    .header img.h-60px {
        height: 60px;
        transition: transform 0.3s ease;
    }

    .header a:hover img.h-60px {
        transform: scale(1.02);
    }

/* System Logo */
.system-logo.system-logo-tech {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e1e2d;
    padding-left: 0.5rem;
    position: relative;
    text-shadow: 0 1px 1px rgba(0,158,247,0.1);
}

    .system-logo.system-logo-tech::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 24px;
        background: linear-gradient(to bottom, #009ef7, rgba(0,158,247,0.6));
        border-radius: 2px;
    }

/* Right Side Menu */
.header .d-flex.align-items-center.flex-shrink-0 {
    gap: 1rem;
}

/* Separator */
.header .separator {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Container */
.header .container-xxl {
    height: 100%;
    position: relative;
}

/* Responsive */
@media (max-width: 992px) {
    .system-logo.system-logo-tech {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

        .system-logo.system-logo-tech::before {
            height: 20px;
        }

    .header img.h-60px {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .header {
        height: 80px;
    }

    .system-logo.system-logo-tech {
        font-size: 0.9rem;
    }

    .header img.h-60px {
        height: 40px;
    }
}
#kt_footer {
    position: relative;
    background: linear-gradient(135deg, #1e2f4f 0%, #162544 100%);
    overflow: hidden;
}

/* Background Overlay */
.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/themes/main/images/44420719_9094466.jpg");
    opacity: 0.08;
    pointer-events: none;
}

/* Logo Bölümü */
.system-logo {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    /*margin-bottom: 1.5rem;*/
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sosyal Medya Butonları */
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.3);
        transform: translateY(-2px);
    }

    .btn-outline-light i {
        transition: all 0.3s ease;
    }

    .btn-outline-light:hover i {
        transform: scale(1.1);
    }

/* İletişim Bölümü */
.footer h3 {
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

    .footer h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    }

.footer ul li {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .footer ul li:hover {
        transform: translateX(5px);
    }

    .footer ul li i {
        color: #4ab0ff !important;
        filter: drop-shadow(0 2px 4px rgba(74,176,255,0.2));
    }

    .footer ul li span {
        color: rgba(255,255,255,0.8);
        font-size: 0.95rem;
    }

/* Alt Footer */
.separator {
    border-color: rgba(255,255,255,0.1) !important;
}

.footer-bottom {
    padding-top: 1.5rem;
}

    .footer-bottom .text-muted {
        color: rgba(255,255,255,0.6) !important;
    }

.list-inline-item {
    position: relative;
    padding: 0 1rem;
}

    .list-inline-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 12px;
        background: rgba(255,255,255,0.2);
    }

.text-hover-light {
    transition: all 0.3s ease;
}

    .text-hover-light:hover {
        color: #4ab0ff !important;
        text-decoration: none;
    }

@media (max-width: 992px) {
    .footer h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer ul li:hover {
        transform: none;
    }

    .list-inline-item {
        padding: 0 0.5rem;
    }
}




/* Mevcut tema ile uyumlu mobil responsive eklentiler */

/* Header için mobil düzenlemeler */
@media (max-width: 768px) {
    .header {
        height: 85px;
        padding: 0 15px;
    }

        .header .container-xxl {
            padding-left: 10px;
            padding-right: 10px;
        }

        .header .d-flex.flex-grow-1.flex-stack {
            gap: 10px;
            align-items: center;
        }

        /* Logo alanı düzenlemeleri */
        .header .d-flex.align-items-center.me-5 {
            margin-right: 0 !important;
            flex: 1 1 auto;
            min-width: 0;
            gap: 0.7rem;
        }

        .header img.h-70px {
            height: 45px !important;
        }

    /* Sistem logosu mobil düzenlemesi */
    .system-logo.system-logo-tech {
        font-size: 1rem;
        padding-left: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

        .system-logo.system-logo-tech::before {
            height: 18px;
            width: 1.5px;
        }

    /* Sağ menü alanı */
    .header .d-flex.align-items-center.flex-shrink-0 {
        gap: 0.5rem;
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .header {
        height: 75px;
        padding: 0 10px;
    }

        .header .container-xxl {
            padding-left: 5px;
            padding-right: 5px;
        }

        .header .d-flex.align-items-center.me-5 {
            gap: 0.5rem;
        }

        .header img.h-70px {
            height: 38px !important;
        }

    .system-logo.system-logo-tech {
        font-size: 0.85rem;
        padding-left: 0.5rem;
        max-width: 120px;
    }

        .system-logo.system-logo-tech::before {
            height: 16px;
            width: 1px;
        }

    .header .d-flex.align-items-center.flex-shrink-0 {
        gap: 0.3rem;
    }
}

@media (max-width: 400px) {
    .header {
        height: 70px;
        padding: 0 8px;
    }

        .header .container-xxl {
            padding-left: 3px;
            padding-right: 3px;
        }

        .header img.h-70px {
            height: 32px !important;
        }

    /* Çok küçük ekranlarda sistem logosunu gizle */
    .system-logo.system-logo-tech {
        display: none;
    }

    .header .d-flex.align-items-center.flex-shrink-0 {
        gap: 0.2rem;
    }
}

/* Footer mobil düzenlemeler */
@media (max-width: 768px) {
    #kt_footer {
        padding: 30px 15px 20px;
    }

        #kt_footer .container-xxl {
            padding-left: 10px;
            padding-right: 10px;
        }

    .footer .row.g-5 {
        gap: 25px !important;
        text-align: center;
    }

    .footer .col-lg-6 {
        text-align: center !important;
    }

    /* Logo bölümü mobil */
    .system-logo {
        font-size: 1.4rem;
        margin-bottom: 1rem !important;
    }

    /* Sosyal medya butonları */
    .footer .d-flex.justify-content-center.justify-content-lg-start {
        justify-content: center !important;
        gap: 15px;
    }

    .footer .btn.btn-icon {
        width: 38px;
        height: 38px;
    }

    /* İletişim bölümü mobil */
    .footer h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

        .footer h3::after {
            right: 50% !important;
            transform: translateX(50%) !important;
            width: 40px;
        }

    .footer ul {
        text-align: center;
    }

        .footer ul li {
            justify-content: center !important;
            margin-bottom: 0.8rem;
            flex-direction: column;
            gap: 5px;
        }

            .footer ul li:hover {
                transform: none;
            }

            .footer ul li i {
                margin-right: 0 !important;
                margin-bottom: 3px;
            }

            .footer ul li span {
                font-size: 0.9rem;
            }

    /* Alt footer mobil */
    .footer-bottom {
        text-align: center;
        padding-top: 1rem;
    }

        .footer-bottom .d-flex.flex-column.flex-lg-row {
            flex-direction: column !important;
            gap: 15px;
        }

    .list-inline {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
    }

    .list-inline-item {
        padding: 0;
        margin: 0;
    }

        .list-inline-item:not(:last-child)::after {
            display: none;
        }
}

@media (max-width: 576px) {
    #kt_footer {
        padding: 25px 10px 15px;
    }

        #kt_footer .container-xxl {
            padding-left: 5px;
            padding-right: 5px;
        }

    .system-logo {
        font-size: 1.2rem;
    }

    .footer .btn.btn-icon {
        width: 35px;
        height: 35px;
    }

        .footer .btn.btn-icon i {
            font-size: 14px !important;
        }

    .footer h3 {
        font-size: 1rem;
    }

    .footer ul li span {
        font-size: 0.85rem;
    }

    .footer ul li i {
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    #kt_footer {
        padding: 20px 8px 12px;
    }

    .system-logo {
        font-size: 1.1rem;
    }

    .footer .btn.btn-icon {
        width: 32px;
        height: 32px;
    }

        .footer .btn.btn-icon i {
            font-size: 12px !important;
        }

    .footer h3 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

        .footer h3::after {
            width: 30px;
        }

    .footer ul li span {
        font-size: 0.8rem;
    }

    .footer ul li i {
        font-size: 12px !important;
    }

    .footer-bottom .text-muted {
        font-size: 0.8rem !important;
    }

    .list-inline .text-hover-light {
        font-size: 0.8rem;
    }
}

/* Partial view'lar için mobil düzenlemeler */
@media (max-width: 576px) {
    /* _UserInfoMenu dropdown */
    .dropdown-menu {
        position: fixed !important;
        top: auto !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        transform: none !important;
        max-width: calc(100vw - 30px);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

        .dropdown-menu.show {
            margin-top: 10px;
        }

    /* _CultureSelect düzenlemesi */
    .header .dropdown-toggle {
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 6px;
    }

    /* _Feedback butonu */
    .header .btn[data-bs-toggle="modal"] {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 400px) {
    /* Çok küçük ekranlarda butonları minimize et */
    .header .dropdown-toggle {
        padding: 4px 8px;
        font-size: 11px;
    }

        .header .dropdown-toggle::after {
            display: none;
        }

    .header .btn[data-bs-toggle="modal"] {
        padding: 4px 8px;
        font-size: 10px;
    }

        .header .btn[data-bs-toggle="modal"] .d-none.d-sm-inline {
            display: none !important;
        }

    /* Sadece icon göster */
    .header .btn span:not(.d-none) {
        display: none;
    }
}

/* Overflow düzeltmeleri - container genişliğini koruyarak */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.wrapper, .page {
    overflow-x: hidden;
    max-width: 100%;
}

.header .container-xxl {
    max-width: 1320px; /* Bootstrap container-xxl genişliği */
    margin: 0 auto;
    overflow: visible;
}

.d-flex.flex-column-fluid.align-items-start.container-xxl {
    max-width: 1320px; /* Bootstrap container-xxl genişliği */
    margin: 0 auto;
    overflow-x: hidden;
}

.content.flex-row-fluid {
    overflow-x: hidden;
    max-width: 100%;
}

/* Content area responsive - container genişliğini koruyarak */
@media (max-width: 768px) {
    .d-flex.flex-column-fluid.align-items-start.container-xxl {
        max-width: 1320px; /* Bootstrap container-xxl max-width */
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .row.gy-0.gx-10 {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
}

@media (max-width: 576px) {
    .d-flex.flex-column-fluid.align-items-start.container-xxl {
        max-width: 540px; /* Bootstrap container max-width for small screens */
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 400px) {
    .d-flex.flex-column-fluid.align-items-start.container-xxl {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Yatay görünüm (landscape) düzenlemeleri */
@media (orientation: landscape) and (max-height: 500px) {
    .header {
        height: 60px;
    }

        .header img.h-70px {
            height: 30px !important;
        }

    .system-logo.system-logo-tech {
        font-size: 0.8rem;
        max-width: 100px;
    }

        .system-logo.system-logo-tech::before {
            height: 14px;
        }

    #kt_footer {
        padding: 15px 10px 10px;
    }

    .footer .row.g-5 {
        gap: 15px !important;
    }
}

/* Modal düzenlemeleri */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 15px;
        max-width: calc(100vw - 30px);
    }

    .modal-content {
        border-radius: 12px;
    }

    .modal-header {
        padding: 20px 15px 15px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }

    .modal-body {
        padding: 15px;
    }

    .modal-footer {
        padding: 15px;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
}

/* Loading ve diğer component'ler */
#loader-wrapper {
    max-width: 100%;
    overflow: hidden;
}

/* Scrollbar stil */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0,158,247,0.3);
    border-radius: 2px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,158,247,0.5);
    }

/* Print medya */
@media print {
    .header, #kt_footer {
        display: none;
    }

    .d-flex.flex-column-fluid.align-items-start.container-xxl {
        padding: 0;
        max-width: 100%;
    }

    .content.flex-row-fluid {
        padding: 0;
    }
}