/* =============================================================
   BAPBS - Misafir sayfalarinda projeye ozel kurallar
   NKU kurumsal takimindan (assets/nku-kurumsal/css/misafir-01..03) SONRA yuklenir.
   ============================================================= */


/* =============================================================
   Katman 1 - Temel
   ============================================================= */

/* ---------- keen-dashboards.css sutun bosluklarinin geri alinmasi ---------- */

body.application div[class^="col-"] {
    margin-top: 0;
}
body.application .nku-section div[class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* ---------- ESKI TASARIM - hicbir gorunumde kullanilmiyor (navbar, hero, giris karti, serit, footer, chart-wrapper).
   Bu bolumdeki siniflar resources/views altinda gecmiyor; kullanici onayiyla silinebilir ---------- */

/* keen-dashboards.css sutun bosluklarini 5px'e dusuruyor;
   bu sayfada Bootstrap'in 15px'lik standart bosluklarini geri aliyoruz. */
body.application .nku-hero div[class^="col-"],
body.application .nku-footer div[class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}
/* Ince kaydirma cubuklari */
.nku-scroll::-webkit-scrollbar { width: 8px; }
.nku-scroll::-webkit-scrollbar-track { background: #F1F3FA; }
.nku-scroll::-webkit-scrollbar-thumb { background: #C6CCE6; border-radius: 8px; }
.nku-scroll::-webkit-scrollbar-thumb:hover { background: #99A2D4; }
.navbar-inverse.navbar-fixed-top {
    background: #16215C;
    border: 0;
    box-shadow: 0 2px 18px rgba(10, 16, 48, .30);
    min-height: 78px;
}
.navbar-inverse .navbar-brand {
    height: 78px;
    padding: 0 14px 0 0;
    display: inline-flex;
    align-items: center;
    color: #fff;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color: #fff;
}
/* Bootstrap logoyu container'in disina tasiyor (margin-left:-15px);
   ic bosluklari sifirladigimiz icin bunu geri aliyoruz. */
.navbar > .container .navbar-brand {
    margin-left: 0;
}
.nku-brand-logo {
    padding: 0 14px 0 0;
}
.nku-brand-logo img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}
.nku-brand-text {
    line-height: 1.15;
}
.nku-brand-text strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
}
.nku-brand-text small {
    display: block;
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, .70);
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-top: 3px;
}
.navbar-inverse .navbar-nav > li > a {
    color: rgba(255, 255, 255, .80);
    font-size: 13.5px;
    font-weight: 500;
    padding: 29px 13px;
    position: relative;
    transition: color .18s ease;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
    background: transparent;
}
.navbar-inverse .navbar-nav > li > a:after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 20px;
    height: 2px;
    border-radius: 2px;
    background: #A2ABEE;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}
.navbar-inverse .navbar-nav > li > a:hover:after {
    transform: scaleX(1);
}
.navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, .3);
    margin-top: 22px;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, .12);
}
/* Acik banner: agirlikli olarak fotograf, uzerinde yalnizca cok hafif
   bir mavi tul (%10-20). Genis alanda goz yormamasi icin doygun mavi
   kullanilmaz; bu yuzden banner metinleri beyaz degil koyu tonlardadir. */
.nku-hero {
    position: relative;
    isolation: isolate;
    background: #EDF0FA;
    padding: 34px 0 62px;
    overflow: hidden;
}
.nku-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        linear-gradient(135deg, rgba(44, 51, 141, .20) 0%, rgba(44, 51, 141, .10) 100%),
        url("../images/banner1.jpeg");
    background-size: cover, cover;
    background-position: center, center right;
    background-repeat: no-repeat, no-repeat;
}
/* Metnin bulundugu sol tarafi koruyan acik perde:
   fotograf uzerinde koyu yazi her zaman okunur kalsin diye. */
.nku-hero:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 74%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(240, 242, 251, .95) 0%, rgba(240, 242, 251, .78) 42%, rgba(240, 242, 251, 0) 100%);
}
.nku-hero-dots {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(rgba(44, 51, 141, .14) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .30;
}
.nku-hero-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    top: -240px;
    left: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 51, 141, .10) 0%, rgba(44, 51, 141, 0) 70%);
}
.nku-hero-inner {
    position: relative;
    z-index: 2;
}
.nku-hero-copy {
    padding-top: 8px;
    color: #2A3157;
}
.nku-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #16215C;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(44, 51, 141, .18);
    border-radius: 40px;
    padding: 6px 15px;
    margin-bottom: 16px;
}
.nku-eyebrow i {
    margin-right: 6px;
}
.nku-hero-copy h1 {
    font-size: 38px;
    line-height: 1.16;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1C2260;
}
.nku-hero-copy h1 span {
    display: block;
    font-weight: 300;
    color: #4C56B5;
}
.nku-hero-lead {
    font-size: 15.5px;
    line-height: 1.6;
    color: #454D72;
    max-width: 520px;
    margin-bottom: 20px;
}
.nku-hero-links {
    margin: 0 -5px;
}
.nku-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    z-index: 1;
}
.nku-hero-wave svg {
    display: block;
    width: 100%;
    height: 42px;
}
.nku-auth-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(44, 51, 141, .10);
    box-shadow: 0 14px 40px rgba(20, 28, 80, .16);
    overflow: hidden;
    margin-top: 0;
}
.nku-auth-head {
    padding: 17px 24px 14px;
    border-bottom: 1px solid #EDEFF7;
}
.nku-auth-head h3 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 700;
    color: #0B1240;
}
.nku-auth-head p {
    margin: 0;
    font-size: 13px;
    color: #757D93;
}
.nku-auth-head .nku-auth-mark {
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #EEF0FD;
    color: #24358D;
    text-align: center;
    line-height: 40px;
    font-size: 17px;
}
.nku-auth-body {
    padding: 18px 24px 20px;
}
/* Form alanlari */
.nku-field {
    margin-bottom: 11px;
}
.nku-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #7A8298;
    margin-bottom: 5px;
}
.nku-auth-card .input-group-addon {
    background: #F5F7FC;
    border-color: #DFE3F0;
    color: #24358D;
    font-size: 13px;
}
.nku-auth-card .form-control {
    height: 42px;
    border-color: #DFE3F0;
    border-radius: 10px;
    box-shadow: none;
    font-size: 14px;
    color: #1B2233;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.nku-auth-card .form-control::-webkit-input-placeholder { color: #A3AABF; }
.nku-auth-card .form-control::-moz-placeholder          { color: #A3AABF; opacity: 1; }
.nku-auth-card .form-control:-ms-input-placeholder      { color: #A3AABF; }
.nku-auth-card .form-control:focus {
    border-color: #24358D;
    box-shadow: 0 0 0 3px rgba(6, 14, 159, .12);
}
.nku-auth-card .input-group .form-control {
    border-radius: 0;
}
.nku-auth-card .input-group .form-control:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.nku-auth-card .input-group .form-control:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.nku-auth-card .input-group-addon:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.nku-auth-card .input-group-addon:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
/* Dogrulama kodu */
.nku-captcha .input-group-addon.nku-captcha-img {
    padding: 0 8px;
    background: #fff;
}
.nku-captcha .input-group-addon.nku-captcha-img img {
    height: 30px;
    width: auto;
    max-width: 150px;
    display: block;
    border-radius: 4px;
}
/* Giris butonu */
.nku-btn-login {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 3px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #24358D 0%, #2A34C9 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: 0 8px 20px rgba(6, 14, 159, .28);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.nku-btn-login i {
    margin-right: 8px;
}
.nku-btn-login:hover,
.nku-btn-login:focus {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(6, 14, 159, .34);
    outline: none;
}
.nku-btn-login:active {
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(6, 14, 159, .28);
}
.nku-auth-foot {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #EDEFF7;
    text-align: center;
    font-size: 13px;
    color: #757D93;
}
.nku-auth-foot a {
    font-weight: 600;
}
.nku-auth-foot .nku-sep {
    display: inline-block;
    margin: 0 8px;
    color: #D3D8E8;
}
.nku-auth-note {
    margin-top: 11px;
    font-size: 12px;
    color: #8A92A6;
    text-align: center;
}
.nku-auth-note i {
    color: #16A34A;
    margin-right: 5px;
}
/* Hata mesajlari (validation_errors ciktisi) */
.nku-auth-body .alert {
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    padding: 11px 14px;
    margin: 14px 0 0;
}
.nku-auth-body .alert-danger {
    background: #FDECEC;
    color: #A32020;
}
.nku-auth-body p {
    margin-bottom: 0;
}
.nku-ticker {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(16, 24, 64, .10);
    border: 1px solid #EBEEF7;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.nku-ticker-label {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #131C63 0%, #26308F 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.nku-ticker-label i {
    margin-right: 9px;
    font-size: 14px;
}
.nku-ticker-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 20px;
}
.nku-ticker-body .newsticker {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 22px;
    overflow: hidden;
}
.nku-ticker-body .newsticker li {
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nku-ticker-body .newsticker a,
.nku-ticker-body .newsticker a b {
    color: #2B3348 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none;
}
.nku-ticker-body .newsticker a:hover,
.nku-ticker-body .newsticker a:hover b {
    color: #24358D !important;
}
.nku-card-head .nku-count {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    color: #6B7385;
    background: #F1F3FA;
    border-radius: 20px;
    padding: 4px 10px;
}
/* Uzun listeler ayni yukseklikte kesilip kendi icinde kayar;
   kisa listeler icerigi kadar yer kaplar, alt tarafta bos alan olusmaz. */
.nku-scroll {
    max-height: 420px;
    overflow-y: auto;
}
.nku-empty {
    padding: 26px 18px;
    text-align: center;
    color: #9AA2BC;
    font-size: 13px;
}
.nku-empty i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    color: #D3D8E8;
}
/* Vurgulu bilgi karti (UNIPORTAL) */
.nku-cta {
    display: block;
    padding: 18px;
    color: #333B52;
    font-size: 13.5px;
    line-height: 1.6;
}
.nku-cta:hover {
    text-decoration: none;
    color: #24358D;
}
.nku-cta strong {
    color: #24358D;
}
.nku-cta-go {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #24358D;
    letter-spacing: .3px;
}
.nku-cta-go i {
    margin-left: 6px;
    transition: transform .18s ease;
}
.nku-cta:hover .nku-cta-go i {
    transform: translateX(4px);
}
.nku-footer {
    margin-top: 40px;
    background: #16215C;
    color: rgba(255, 255, 255, .76);
    padding: 34px 0 0;
}
.nku-footer h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 14px;
}
.nku-footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.nku-footer-brand img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    margin-right: 14px;
    flex: 0 0 auto;
}
.nku-footer-brand span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}
.nku-footer p {
    font-size: 13px;
    line-height: 1.75;
    margin: 0 0 6px;
}
.nku-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nku-footer ul li {
    margin-bottom: 8px;
}
.nku-footer a {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    transition: color .16s ease;
}
.nku-footer a:hover {
    color: #fff;
    text-decoration: none;
}
.nku-footer i.nku-fi {
    width: 18px;
    color: #A2ABEE;
    margin-right: 6px;
}
/* Adres: coklu satir oldugu icin ikon ustte sabit, metin yanindan akar */
.nku-footer-adres {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 14px;
}
.nku-footer-adres i.nku-fi {
    flex: 0 0 auto;
    margin-top: 3px;
}
.nku-footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 16px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .62);
}
.nku-footer-bottom a {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
}
/* Orta boy ekranlarda menu tasmasin */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-inverse .navbar-nav > li > a {
        font-size: 12.5px;
        padding: 30px 8px;
    }
    .navbar-inverse .navbar-nav > li > a:after {
        left: 8px;
        right: 8px;
    }
    .nku-brand-text small {
        display: none;
    }
    .nku-brand-text strong {
        font-size: 15px;
    }
    .nku-brand-logo img {
        width: 52px;
        height: 52px;
    }
}
@media (max-width: 991px) {
    .nku-hero {
        padding: 28px 0 56px;
    }
    .nku-hero-copy h1 {
        font-size: 30px;
    }
    .nku-auth-card {
        margin-top: 24px;
    }
    /* Kolonlar alt alta gectiginde metin tum genisligi kaplar,
       perde de tam genislige yayilir. */
    .nku-hero:after {
        width: 100%;
        background: linear-gradient(180deg, rgba(240, 242, 251, .93) 0%, rgba(240, 242, 251, .80) 100%);
    }
}
@media (max-width: 767px) {
    .navbar-inverse.navbar-fixed-top {
        min-height: 66px;
    }
    .navbar-inverse .navbar-brand {
        height: 66px;
    }
    .nku-brand-logo img {
        width: 48px;
        height: 48px;
    }
    .nku-brand-text strong {
        font-size: 16px;
    }
    .navbar-inverse .navbar-toggle {
        margin-top: 16px;
    }
    .nku-footer-brand img {
        width: 56px;
        height: 56px;
    }
    .navbar-inverse .navbar-nav > li > a {
        padding: 12px 15px;
    }
    .navbar-inverse .navbar-nav > li > a:after {
        display: none;
    }
    .navbar-inverse .navbar-collapse {
        border-top-color: rgba(255, 255, 255, .12);
        max-height: 320px;
    }
    .nku-hero {
        padding: 22px 0 48px;
        text-align: center;
    }
    .nku-hero-copy {
        padding-top: 2px;
    }
    .nku-hero-copy h1 {
        font-size: 25px;
    }
    .nku-hero-lead {
        font-size: 14.5px;
        margin-left: auto;
        margin-right: auto;
    }
    .nku-ticker {
        display: block;
        margin-top: -22px;
    }
    .nku-ticker-label {
        justify-content: center;
        padding: 11px 16px;
    }
    .nku-ticker-body {
        padding: 12px 16px;
    }
    .nku-auth-card {
        text-align: left;
    }
    .nku-auth-head,
    .nku-auth-body {
        padding-left: 18px;
        padding-right: 18px;
    }
    .nku-hero-wave svg {
        height: 28px;
    }
}


/* =============================================================
   Katman 2 - Kiosk gorsel dili (Katman 1 kurallarini ezer; sonra gelmelidir)
   ============================================================= */

/* ---------- ESKI TASARIM - hicbir gorunumde kullanilmiyor (navbar, hero, giris karti, serit, footer, chart-wrapper).
   Bu bolumdeki siniflar resources/views altinda gecmiyor; kullanici onayiyla silinebilir ---------- */

.navbar-inverse.navbar-fixed-top { background: #16215C; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.navbar-inverse .navbar-nav > li > a { font-size: 13px; font-weight: 600; }
.nku-hero { background: linear-gradient(135deg, #24358D 0%, #16215C 55%, #0B1236 100%); }
.nku-hero-bg,
.nku-hero-dots,
.nku-hero:after { display: none; }
.nku-hero-glow { top: -96px; left: -96px; right: auto; width: 320px; height: 320px; background: rgba(31, 143, 214, .22); border-radius: 50%; filter: blur(64px); }
.nku-hero:before { content: ""; position: absolute; right: 30%; bottom: -220px; width: 600px; height: 600px; border: 64px solid rgba(255, 255, 255, .04); border-radius: 50%; pointer-events: none; }
.nku-eyebrow { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: #8FC9F2; box-shadow: none; font-weight: 600; }
.nku-eyebrow .fa { color: #8FC9F2; }
.nku-hero-copy h1 { color: #fff; font-weight: 800; }
.nku-hero-copy h1 span { color: rgba(255, 255, 255, .78); font-weight: 500; }
.nku-hero-lead { color: rgba(255, 255, 255, .72); }
.nku-auth-card { border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(11, 18, 54, .6); }
.nku-auth-head h3 { font-weight: 800; color: #0B1236; }
.nku-auth-head p { color: #646D8A; }
.nku-auth-head .nku-auth-mark { background: #F2F4FB; color: #24358D; }
.nku-auth-card .nku-field label { color: #16215C; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; }
.nku-auth-card .input-group-addon { background: #F4F6FB; border-color: #E3E7F0; color: #646D8A; }
.nku-auth-card .form-control { border-color: #E3E7F0; color: #1B2340; }
.nku-auth-card .form-control:focus { border-color: #6474C2; box-shadow: 0 0 0 3px rgba(36, 53, 141, .12); }
.nku-btn-login { background: #24358D; border-radius: 8px; box-shadow: 0 1px 3px rgba(22, 33, 92, .25); font-weight: 600; }
.nku-btn-login:hover,
.nku-btn-login:focus { background: #1D2B75; box-shadow: 0 1px 3px rgba(22, 33, 92, .25); transform: none; }
.nku-hero-wave path { fill: #F4F6FB; }
.nku-ticker { border: 1px solid #E3E7F0; border-radius: 16px; box-shadow: 0 1px 2px rgba(22, 33, 92, .05), 0 8px 24px -16px rgba(22, 33, 92, .25); }
.nku-ticker-label { background: #16215C; }
.nku-count { background: #E3E7F6; color: #24358D; font-weight: 700; }
.nku-footer { background: linear-gradient(135deg, #16215C 0%, #0B1236 100%); }
/* Montserrat daha geniş; üst menü tek satırda kalsın, içeriği örtmesin. */
.navbar-inverse .navbar-nav > li > a { padding-left: 9px; padding-right: 9px; font-size: 12.5px; white-space: nowrap; }
.nku-brand-text strong { font-size: 16px; white-space: nowrap; }
.nku-brand-text small { font-size: 10px; letter-spacing: .02em; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1199px) {
    .nku-brand-text small { display: none; }
    .nku-brand-text strong { font-size: 14px; }
    .navbar-inverse .navbar-nav > li > a { padding-left: 6px; padding-right: 6px; font-size: 11px; }
}


/* =============================================================
   Katman 3 - Kiosk giris ekrani duzeni ve ince ayarlar (onceki katmanlari ezer; sonra gelmelidir)
   ============================================================= */

/* ---------- Giris sayfasi: duyuru / belge / faaliyet / laboratuvar kartlari ---------- */

#bilgiDuyuru .nku-bilgi-satir > span .fa { display: none; }
#bilgiDuyuru .nku-bilgi-satir > span,
#bilgiBelge .nku-bilgi-satir > span,
#bilgiFaaliyet .nku-bilgi-satir > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Laboratuvar kartindaki uzun aciklama dar kartta alt alta: metin, altinda baglanti */
#bilgiLab .nku-bilgi-satir { flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.4; }
/* Alcak ekranda kartta iki satirlik yer var; satirin tamami zaten baglanti, "UNIPORTAL'a git" ipucu gizlenir */
@media (max-height: 760px) {
    #bilgiLab .nku-bilgi-satir time { display: none; }
}


/* =============================================================
   Katman 1 - Temel
   ============================================================= */

/* ---------- keen-dashboards.css sutun bosluklarinin geri alinmasi ---------- */

/* keen-dashboards.css sutunlari 5px bosluga ve 5px ust bosluga
   dusuruyor; ic sayfalarda Bootstrap'in standart 15px'i geri alinir. */
body.application .nku-sayfa div[class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0;
}

/* ---------- Is akis semasi (agac) ---------- */

/* Sema genis oldugu icin kendi icinde yatayda kayar. */
.nku-sayfa .tree {
    overflow-x: auto;
    padding-bottom: 14px;
}
/* Kutular float ile diziliyordu; satira sigmayinca alt satira kayip
   birlestirme cizgilerinden kopuyorlardi. Flex ile her seviye tek
   satirda kalir, seviye genisligi kadar yatay kaydirma olusur. */
.nku-sayfa .tree ul {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Bootstrap listelere 40px sol bosluk veriyor; her seviyede birikip
       kutulari birlestirme cizgilerinin sagina kaydiriyordu. */
    padding-left: 0;
}
/* Kok seviye icerigi kadar genis olur: sema kutuya sigmadiginda
   soldan baslayip saga dogru kayar (ortalanmis olsaydi sol tarafi
   kaydirmayla ulasilamaz halde kalirdi). Sigdiginda min-width ile
   kutuyu doldurup ortalanir. */
.nku-sayfa .tree > ul {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    min-width: 100%;
}
/* float bildirimi kaldirilmadi: flex kutusu icinde tarayici float'i
   yok sayar, flex desteklemeyen eski tarayicilar ise eski dizilime
   duser. */
.nku-sayfa .tree li {
    flex: 0 0 auto;
}
.nku-sayfa .tree li::before,
.nku-sayfa .tree li::after {
    border-top-color: #CBD2E8;
}
.nku-sayfa .tree li::after {
    border-left-color: #CBD2E8;
}
.nku-sayfa .tree li:last-child::before {
    border-right-color: #CBD2E8;
}
.nku-sayfa .tree ul ul::before {
    border-left-color: #CBD2E8;
}
.nku-sayfa .tree li a {
    background: #fff;
    border: 1px solid #DDE2F2;
    border-radius: 10px;
    padding: 9px 14px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #16215C;
    box-shadow: 0 2px 8px rgba(20, 28, 80, .07);
    cursor: pointer;
}
/* Adim turleri: orijinal btn-* siniflari korunur, renkleri kurumsal
   palete cekilir (ana akis lacivert, ara adim mavi, revizyon amber,
   red kirmizi). */
.nku-sayfa .tree li a.btn-success {
    background: linear-gradient(135deg, #24358D 0%, #2A34C9 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(6, 14, 159, .22);
}
.nku-sayfa .tree li a.btn-info {
    background: #EEF1FD;
    border-color: #D3DAF6;
    color: #23306E;
}
.nku-sayfa .tree li a.btn-warning {
    background: #FEF3E2;
    border-color: #F3DDB8;
    color: #7A5210;
}
.nku-sayfa .tree li a.btn-danger {
    background: #FDECEC;
    border-color: #F3C9C9;
    color: #A32020;
}
.nku-sayfa .tree li a:hover,
.nku-sayfa .tree li a:hover + ul li a {
    background: #16215C;
    border-color: #16215C;
    color: #fff;
    box-shadow: 0 8px 18px rgba(20, 28, 80, .22);
}

/* ---------- Kullanim kilavuzu gorev kartlari ---------- */

/* Ayni satirdaki kartlar en uzun kart kadar yukselir: alt seride
   (etiket + eylem) kartlarin hepsinde ayni hizada durur. */
@media (min-width: 768px) {
    .nku-gorev-izgara {
        display: flex;
        flex-wrap: wrap;
    }
    .nku-gorev-izgara > div[class^="col-"] {
        display: flex;
    }
}
.nku-gorev {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 22px;
    padding: 20px;
    background: #fff;
    border: 1px solid #EBEEF7;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 64, .04), 0 6px 20px rgba(16, 24, 64, .05);
    color: #333B52;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.nku-gorev:hover,
.nku-gorev:focus {
    border-color: #C9D0EE;
    color: #333B52;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(16, 24, 64, .06), 0 14px 34px rgba(16, 24, 64, .10);
    text-decoration: none;
}
.nku-gorev-ikon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: #F1F3FA;
    color: #16215C;
    text-align: center;
    line-height: 46px;
    font-size: 19px;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.nku-gorev:hover .nku-gorev-ikon,
.nku-gorev:focus .nku-gorev-ikon {
    background: linear-gradient(135deg, #24358D 0%, #2A34C9 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(6, 14, 159, .24);
}
.nku-gorev-baslik {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #131A3D;
}
.nku-gorev-aciklama {
    display: block;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: #5A6280;
}
/* margin-top:auto alt seridi kartin dibine yaslar. */
.nku-gorev-alt {
    display: flex;
    align-items: center;
    margin-top: auto;
}
.nku-gorev-etiket {
    flex: 0 0 auto;
    padding: 5px 11px;
    border-radius: 20px;
    background: #F1F3FA;
    color: #6B7385;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.nku-gorev-eylem {
    flex: 1 1 auto;
    margin-left: 10px;
    text-align: right;
    font-size: 12.5px;
    font-weight: 700;
    color: #24358D;
    white-space: nowrap;
}
.nku-gorev-eylem i {
    margin-left: 5px;
    transition: transform .18s ease;
}
.nku-gorev:hover .nku-gorev-eylem i {
    transform: translateX(4px);
}
@media (max-width: 767px) {
    /* Dar ekranda etiket ile eylem yan yana sigmiyor; alt alta gecerler. */
    .nku-gorev-alt {
        display: block;
    }
    .nku-gorev-etiket {
        display: inline-block;
    }
    .nku-gorev-eylem {
        display: block;
        margin: 12px 0 0;
        text-align: left;
    }
}

/* ---------- ESKI TASARIM - hicbir gorunumde kullanilmiyor (navbar, hero, giris karti, serit, footer, chart-wrapper).
   Bu bolumdeki siniflar resources/views altinda gecmiyor; kullanici onayiyla silinebilir ---------- */

.navbar-inverse .navbar-nav > li.active > a,
.navbar-inverse .navbar-nav > li.active > a:hover,
.navbar-inverse .navbar-nav > li.active > a:focus {
    color: #fff;
    background: transparent;
}
.navbar-inverse .navbar-nav > li.active > a:after {
    transform: scaleX(1);
}
.nku-sayfa .chart-wrapper {
    background: #fff;
    border: 1px solid #EBEEF7;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 64, .04), 0 6px 20px rgba(16, 24, 64, .05);
    margin-bottom: 22px;
    overflow: hidden;
}
.nku-sayfa .chart-title {
    padding: 15px 18px;
    border-bottom: 1px solid #F0F2F9;
    font-size: 15px;
    font-weight: 700;
    color: #131A3D;
}
/* Bos birakilmis basliklar ince bir cizgi olarak gorunmesin */
.nku-sayfa .chart-title:empty {
    display: none;
}
.nku-sayfa .chart-stage {
    padding: 16px 12px;
}


/* =============================================================
   Katman 2 - Giris sayfasinin gorsel dili (Katman 1 kurallarini ezer; sonra gelmelidir)
   ============================================================= */

/* ---------- Kullanim kilavuzu gorev kartlari ---------- */

.nku-sayfa .nku-gorev { border-radius: 16px; animation: nkuYukariGel .45s ease both; }
.nku-sayfa .nku-gorev { transition: transform .18s ease, box-shadow .18s ease; }
.nku-sayfa .nku-gorev:hover,
.nku-sayfa .nku-gorev:focus { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(11, 18, 54, .55); }
@media (prefers-reduced-motion: reduce) {
    .nku-sayfa .nku-gorev { animation: none; }
}

/* ---------- ESKI TASARIM - hicbir gorunumde kullanilmiyor (navbar, hero, giris karti, serit, footer, chart-wrapper).
   Bu bolumdeki siniflar resources/views altinda gecmiyor; kullanici onayiyla silinebilir ---------- */

.nku-sayfa .chart-wrapper { border-radius: 16px; animation: nkuYukariGel .45s ease both; }
@media (prefers-reduced-motion: reduce) {
    .nku-sayfa .chart-wrapper { animation: none; }
}

/* UUKP: açık çağrı ayrıntısı (giriş sayfası penceresi) */
.uukp-bilgi-liste { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 18px; margin: 0; }
.uukp-bilgi-liste dt { color: var(--nkp-metin-ikincil, #646D8A); font-weight: 600; }
.uukp-bilgi-liste dd { margin: 0; color: #16215C; }
@media (max-width: 575px) { .uukp-bilgi-liste { grid-template-columns: 1fr; gap: 2px; } .uukp-bilgi-liste dd { margin-bottom: 10px; } }

/* UUKP: İstatistik sayfasındaki birim × yıl tablosu. ~20 yıl sütunu geniş ekranda sığsın diye sıkı;
   dar ekranda tablo yana kayar, birim sütunu solda sabit kalır (zemini satır rengini alır). */
.nku-sayfa .uukp-yil-tablosu > thead > tr > th,
.nku-sayfa .uukp-yil-tablosu > tbody > tr > td,
.nku-sayfa .uukp-yil-tablosu > tfoot > tr > th { padding: 8px 3px; white-space: nowrap; }
.nku-sayfa table.dataTable.uukp-yil-tablosu thead > tr > th.sorting,
.nku-sayfa table.dataTable.uukp-yil-tablosu thead > tr > th.sorting_asc,
.nku-sayfa table.dataTable.uukp-yil-tablosu thead > tr > th.sorting_desc { padding-right: 13px; }
.nku-sayfa table.dataTable.uukp-yil-tablosu thead > tr > th:after { right: 2px; bottom: 9px; font-size: 9px; }
.nku-sayfa .uukp-yil-tablosu > tbody > tr { background-color: #fff; }
.nku-sayfa .uukp-yil-tablosu > * > tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 150px; max-width: 240px; padding-left: 10px; white-space: normal; text-align: left; box-shadow: inset -1px 0 0 #E4E8F5; }
.nku-sayfa .uukp-yil-tablosu > tbody > tr > td:first-child { background-color: inherit; }
.nku-sayfa .uukp-yil-tablosu > tbody > tr:hover > td:first-child { background-color: #F4F7FE; }
.nku-sayfa .uukp-yil-tablosu > tfoot > tr > th:first-child { background-color: #fff; }
.nku-sayfa .uukp-yil-tablosu > tfoot > tr > th { border-top: 2px solid #E4E8F5; color: #16215C; }

/* UUKP: İstatistik yıl seçimi; ayrı düğmeler (satıra sığmayan yıl kopuk görünmesin), seçili yıl dolgulu. */
.uukp-yil-secim { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.uukp-yil-secim-blok { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 20px; }
.uukp-yil-secim-etiket { color: #16215C; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.uukp-sutun-yil { margin: 0 0 14px; color: #646D8A; font-size: 13px; text-align: center; }
.uukp-sutun-yil b { color: #1B2340; }
.nku-sayfa .uukp-yil-secim > .btn { min-width: 56px; border-radius: 8px; font-weight: 600; }
.nku-sayfa .uukp-yil-secim > .btn.active,
.nku-sayfa .uukp-yil-secim > .btn.active:hover,
.nku-sayfa .uukp-yil-secim > .btn.active:focus { background: #24358D; color: #fff; box-shadow: none; }
/* UUKP: İstatistik birim seçimi (eskideki birim seçimi); yıl düğmelerinin altında, filtrenin parçası. */
.uukp-birim-secim { display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(360px, 100%); margin: 6px 0 0; font-weight: 400; }
.nku-sayfa .uukp-birim-secim .form-control { height: 38px; border-radius: 8px; font-size: 13.5px; }
