header{
    background:#fff;
    border-bottom:1px solid #e2e8f0;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-link{
    text-decoration:none;
}

.logo-wrapper{
    display:flex;
    align-items:center;
    max-width:160px;
}

.brand-logo-img{
    width:100%;
}

.nav-links{
    display:flex;
    align-items:center;
}
footer{
    background:#ffffff;
    border-top:1px solid #e2e8f0;
    text-align:center;
    padding:24px;
    color:#94a3b8;
    font-size:14px;
    font-weight:500;
    margin-top:auto;
    width:100%;
}
.nav-links a{
    text-decoration:none;
    color:#475569;
    margin-left:24px;
    font-weight:600;
    font-size:15px;
    transition:0.2s;
}

.nav-links a:hover{
    color:#2563eb;
}

.user-menu{
    position:relative;
    margin-left:20px;
}

.user-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
}

.user-dropdown{
    display:none;
    position:absolute;
    right:0;
    top:100%;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:8px;
    min-width:220px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    z-index:9999;
}

.user-dropdown a{
    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:#475569;
    margin:0;
}

.user-dropdown a:hover{
    background:#f8fafc;
}

.user-menu:hover .user-dropdown{
    display:block;
}

/* Hızlı Evrak Menüsü */

.aksiyon-bar{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));

    gap:12px;

    margin:0 0 25px 0;

}
.aksiyon-bar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:20px;
}

.aksiyon-bar .btn-create{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:8px 14px;

    background:#2563eb;
    color:#fff;

    text-decoration:none;

    border-radius:8px;

    font-size:13px;

    font-weight:600;

    white-space:nowrap;

    transition:.2s;
}

.aksiyon-bar .btn-create:hover{

    background:#1d4ed8;

}

/* =========================================================
   GENEL MOBIL UYUMLULUK KATMANI
   Masaustu kurallarini etkilemez.
   ========================================================= */

@media (max-width: 768px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    *,
    *::before,
    *::after{
        box-sizing:border-box;
    }

    .panel-layout,
    .program-container{
        display:block !important;
        width:100% !important;
        max-width:100% !important;
    }

    .panel-sidebar{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        border-right:none !important;
        border-bottom:1px solid #e2e8f0;
    }

    .panel-content,
    .program-content,
    .container,
    .content,
    .main-content{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .grid,
    .form-grid,
    .info-grid,
    .cards-grid,
    .stats-grid{
        grid-template-columns:1fr !important;
    }

    .grid > *,
    .form-grid > *,
    .info-grid > *,
    .cards-grid > *,
    .stats-grid > *{
        min-width:0 !important;
        grid-column:auto !important;
    }

    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select,
    textarea{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:44px;
        font-size:16px !important;
    }

    textarea{
        min-height:90px;
    }

    table{
        display:block;
        width:100% !important;
        max-width:100% !important;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        white-space:nowrap;
    }

    table textarea{
        white-space:normal;
    }

    .table-wrapper,
    .table-responsive,
    .table-container{
        width:100% !important;
        max-width:100% !important;
        overflow-x:auto !important;
        -webkit-overflow-scrolling:touch;
    }

    .actions,
    .action-buttons,
    .form-actions{
        flex-wrap:wrap !important;
    }

    .actions .btn,
    .form-actions .btn{
        max-width:100%;
    }

    img,
    video,
    iframe{
        max-width:100%;
        height:auto;
    }

    .modal,
    .modal-content,
    .popup,
    .dialog{
        max-width:calc(100vw - 24px) !important;
    }
}
