/* Basit KKU Kariyer temasÃƒâ€žÃ‚Â± */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--kku-cm-bg, #f8f9fa);
    color: var(--kku-cm-text, #333);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header — tema token (--kku-header-bg); sabit kırmızı gradient kaldırıldı */
.kku-red-header {
    background: var(--kku-header-bg, #B91C1C) !important;
    background-image: none !important;
    color: var(--kku-header-text, #ffffff);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: background-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

    .kku-red-header .navbar {
        padding: 0.5625rem 0;
    }

    .kku-red-header .navbar-brand {
        color: #0f172a;
        text-decoration: none;
        display: flex;
        align-items: center;
        font-weight: 700;
        background: var(--bs-body-bg);
        padding: 7.5px;
        border-radius: 15px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .kku-red-header .brand-logo {
        font-size: 2rem;
        font-weight: 700;
        text-transform: lowercase;
    }

    .kku-red-header .brand-logo-sub {
        font-size: 1.8rem;
        font-weight: 600;
        margin-left: 0.25rem;
    }

    /* mta.kku.edu.tr tarzı: Kurum adı + site adı */
    .kku-mta-style-header .brand-uni {
        display: none;
    }
    .kku-mta-style-header .navbar-brand {
        flex-wrap: nowrap;
    }
    @media (min-width: 992px) {
        .kku-mta-style-header .brand-uni {
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #1e293b;
            margin-left: 0.35rem;
            line-height: 1.2;
            max-width: 120px;
        }
        .kku-mta-style-header .brand-logo-sub {
            margin-left: 0.5rem;
            padding-left: 0.5rem;
            border-left: 1px solid rgba(0,0,0,0.12);
            font-size: 1.25rem;
        }
    }

    .kku-red-header .navbar-brand:hover {
        /* color: white; */
    }
    
    /* mta tarzı ana menü */
    .kku-mta-style-header .navbar-nav-mta {
        gap: 0.25rem;
    }
    .kku-mta-style-header .navbar-nav-mta .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }
    .kku-mta-style-header .header-right-mta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .kku-mta-style-header .header-contact-mta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .kku-mta-style-header .header-phone,
    .kku-mta-style-header .header-email {
        color: rgba(255,255,255,0.95);
        text-decoration: none;
        font-size: 0.85rem;
        white-space: nowrap;
        transition: color 0.2s;
    }
    .kku-mta-style-header .header-phone:hover,
    .kku-mta-style-header .header-email:hover {
        color: #fff;
    }
    .kku-mta-style-header .header-phone i,
    .kku-mta-style-header .header-email i {
        margin-right: 0.25rem;
        opacity: 0.9;
    }

    .kku-red-header .navbar-nav .nav-link {
        color: white;
        font-weight: 500;
        padding: 0.5rem 1rem;
        margin: 0 0.1rem;
        transition: all 0.3s ease;
        font-size: 0.95rem;
        border-radius: 4px;
    }

        .kku-red-header .navbar-nav .nav-link:hover,
        .kku-red-header .navbar-nav .nav-link:focus {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

    .kku-red-header .dropdown-menu {
        border: none;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        background: white;
    }

    .kku-red-header .dropdown-item {
        padding: 0.5rem 1rem;
        color: #333;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

        .kku-red-header .dropdown-item:hover {
            background-color: #f8f9fa;
            color: #e53e3e;
        }

    .kku-red-header .header-buttons {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .kku-red-header .randevu-btn,
    .kku-red-header .giris-btn {
        border: 2px solid white;
        background: transparent;
        color: white;
        padding: 0.5rem 1.25rem;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

        .kku-red-header .randevu-btn:hover,
        .kku-red-header .giris-btn:hover {
            background: white;
            color: #e53e3e;
        }

    .kku-red-header .navbar-toggler {
        border: 2px solid white;
        padding: 0.25rem 0.5rem;
        order: 2;
    }

    .kku-red-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
    }

    .kku-red-header .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    }
    
    .kku-red-header .navbar-toggler:not(.collapsed) {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .kku-red-header .navbar {
        flex-wrap: wrap;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .kku-red-header .navbar-brand {
        order: 1;
        flex: 0 0 auto;
        margin-right: auto;
    }
    
    .kku-red-header .navbar-collapse {
        order: 2;
    }
    
    .kku-red-header .header-social {
        order: 3;
        margin-left: auto;
    }
    
    /* mta: navbar collapse içinde menü ortada kalsın */
    .kku-mta-style-header .navbar-collapse {
        order: 2;
    }
    .kku-mta-style-header .header-right-mta {
        order: 3;
    }

/* ── Header Right Actions (Search + Social) ── */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    order: 3;
}

/* ── Header Search Card ── */
.header-search-card {
    position: relative;
    z-index: 1010;
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}
.header-search-toggle:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.header-search-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.header-search-toggle i {
    font-size: 0.85rem;
}

.header-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    animation: headerSearchSlideDown 0.25s ease-out;
    z-index: 1020;
}
.header-search-dropdown.is-open {
    display: block;
}
@keyframes headerSearchSlideDown {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.header-search-dropdown-inner {
    padding: 1rem;
}

.header-search-input-group {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0 0.75rem;
    transition: all 0.2s ease;
}
.header-search-input-group:focus-within {
    background: #fff;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.header-search-icon {
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: color 0.2s;
}
.header-search-input-group:focus-within .header-search-icon {
    color: #e53e3e;
}
.header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.6rem;
    font-size: 0.9rem;
    color: #1e293b;
    outline: none;
    width: 100%;
}
.header-search-input::placeholder {
    color: #94a3b8;
}
.header-search-clear {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.header-search-clear:hover {
    color: #e53e3e;
    background: rgba(229,62,62,0.08);
}

.header-search-quick-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.header-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.header-quick-link:hover {
    color: #e53e3e;
    border-color: #e53e3e;
    background: rgba(229,62,62,0.04);
    text-decoration: none;
}
.header-quick-link i {
    font-size: 0.72rem;
}

/* Search results dropdown */
.header-search-results {
    margin-top: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.5rem;
}
.header-search-results::-webkit-scrollbar {
    width: 5px;
}
.header-search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.header-search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s ease;
}
.header-search-result-item:hover {
    background: #f8fafc;
    color: #1e293b;
    text-decoration: none;
}
.header-search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.header-search-result-icon.icon-personel {
    background: rgba(229,62,62,0.1);
    color: #e53e3e;
}
.header-search-result-icon.icon-yayin {
    background: rgba(37,99,235,0.1);
    color: #2563eb;
}
.header-search-result-icon.icon-birim {
    background: rgba(16,185,129,0.1);
    color: #10b981;
}
.header-search-result-info {
    flex: 1;
    min-width: 0;
}
.header-search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-search-result-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-search-result-cat {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}
.header-search-no-result {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}
.header-search-no-result i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* Loading */
.header-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    color: #94a3b8;
    font-size: 0.82rem;
}
.header-search-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-top-color: #e53e3e;
    border-radius: 50%;
    animation: headerSearchSpin 0.6s linear infinite;
}
@keyframes headerSearchSpin {
    to { transform: rotate(360deg); }
}

/* Overlay */
.header-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1005;
    backdrop-filter: blur(2px);
    animation: headerOverlayFade 0.2s ease;
}
@keyframes headerOverlayFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Header social divider between search and social */
.header-right-actions .header-social {
    position: relative;
    padding-left: 0.75rem;
    margin-left: 0;
}
.header-right-actions .header-social::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.25);
}

/* Mobile responsive */
@media (max-width: 767.98px) {
    .header-right-actions {
        gap: 0.4rem;
    }
    .header-search-toggle-text {
        display: none;
    }
    .header-search-toggle {
        padding: 0.4rem 0.65rem;
        border-radius: 50%;
    }
    .header-search-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0 0 16px 16px;
        max-height: 85vh;
        overflow-y: auto;
    }
    .header-search-dropdown-inner {
        padding: 1rem;
        padding-top: 0.75rem;
    }
    .header-search-quick-links {
        flex-wrap: wrap;
    }
    .header-right-actions .header-social {
        padding-left: 0.4rem;
        gap: 0.3rem;
    }
    .header-right-actions .header-social::before {
        display: none;
    }
    .header-right-actions .header-social .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .header-search-dropdown {
        width: 360px;
    }
    .header-right-actions .header-social .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Login Modal Styles - Umran OTO */
.kku-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

    .kku-modal .modal-header {
        padding: 0;
        border-bottom: none;
        position: relative;
    }

.login-tabs {
    display: flex;
    width: 100%;
}

.login-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

    .login-tab.active {
        background: white;
        color: #333;
        border-bottom-color: #e53e3e;
    }

    .login-tab:hover {
        background: #f1f1f1;
    }

.kku-modal .btn-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.kku-modal .modal-body {
    padding: 2rem;
}

.login-form h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-form p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.phone-input {
    display: flex;
    margin-bottom: 1rem;
}

.country-code {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-right: none;
    padding: 0.75rem 1rem;
    color: #666;
    font-weight: 600;
    border-radius: 6px 0 0 6px;
}

.phone-input .form-control {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.kku-modal .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.95rem;
}

    .kku-modal .form-control:focus {
        border-color: #e53e3e;
        box-shadow: 0 0 0 0.2rem rgba(229, 62, 62, 0.25);
    }

.code-input {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.kku-modal .form-check {
    margin: 1rem 0 1.5rem 0;
}

.kku-modal .form-check-label {
    font-size: 0.9rem;
    color: #666;
}

.kku-modal .btn {
    border-radius: 6px;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.kku-modal .btn-primary {
    background: #e53e3e;
    border-color: #e53e3e;
}

    .kku-modal .btn-primary:hover {
        background: #c53030;
        border-color: #c53030;
    }

.kku-modal .btn-success {
    background: #28a745;
    border-color: #28a745;
}

.code-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.kku-modal .btn-link {
    color: #e53e3e;
    text-decoration: none;
    padding: 0.5rem;
    font-size: 0.9rem;
}

    .kku-modal .btn-link:hover {
        color: #c53030;
        text-decoration: underline;
    }

/* Footer exactly like Umran OTO */
.kku-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

    .kku-footer .footer-brand {
        margin-bottom: 2rem;
    }

    .kku-footer .footer-logo {
        height: 60px;
        margin-bottom: 1rem;
        filter: brightness(0) invert(1);
    }

    .kku-footer .contact-info p {
        margin: 0.5rem 0;
        color: #bdc3c7;
        font-size: 1rem;
    }

        .kku-footer .contact-info p strong {
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
        }

    .kku-footer .footer-title {
        color: white;
        font-weight: 600;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .kku-footer .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .kku-footer .footer-links li {
            margin-bottom: 0.75rem;
        }

        .kku-footer .footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            display: block;
        }

            .kku-footer .footer-links a:hover {
                color: white;
            }

    .kku-footer .mobile-apps {
        margin-top: 2rem;
    }

    .kku-footer .app-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .kku-footer .app-btn {
        display: inline-block;
        transition: transform 0.3s ease;
    }

        .kku-footer .app-btn:hover {
            transform: translateY(-2px);
        }

        .kku-footer .app-btn img {
            height: 45px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

    .kku-footer .footer-bottom {
        border-top: 1px solid #34495e;
        padding-top: 2rem;
        margin-top: 3rem;
    }

    .kku-footer .copyright-text {
        color: #bdc3c7;
        font-size: 0.95rem;
        margin: 0;
    }

    .kku-footer .footer-legal-links {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
    }

        .kku-footer .footer-legal-links a {
            color: #bdc3c7;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

            .kku-footer .footer-legal-links a:hover {
                color: white;
            }

/* Tablet ve Orta Ekranlar */
@media (min-width: 769px) and (max-width: 991px) {
    .kku-red-header .header-bar {
        padding: 0.4rem 1rem;
    }
    
    .kku-red-header .navbar-brand {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
    
    .kku-red-header .header-logo {
        height: 42px;
    }
    
    .kku-red-header .brand-logo-sub {
        font-size: 1.4rem;
    }
    
    .kku-red-header .header-social .social-icon {
        width: 32px;
        height: 32px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Genel mobil düzenlemeler */
    body {
        overflow-x: hidden;
    }

    :root {
        --kku-mobile-gutter: 8px;
        --bs-gutter-x: 0;
    }

    .kku-main {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }
    
    .container, .container-fluid {
        padding-left: var(--kku-mobile-gutter);
        padding-right: var(--kku-mobile-gutter);
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .kku-red-header > .container {
        padding-left: var(--kku-mobile-gutter);
        padding-right: var(--kku-mobile-gutter);
    }

    .kku-red-header .header-bar {
        width: 100%;
        border-radius: 12px;
    }

    .main-content > .container-fluid {
        padding-left: var(--kku-mobile-gutter);
        padding-right: var(--kku-mobile-gutter);
    }
    
    /* Header mobil düzenlemeler */
    .kku-header .navbar-nav {
        text-align: center;
    }

    .kku-header .login-btn {
        margin-top: 1rem;
        display: inline-block;
    }
    
    .kku-red-header {
        padding: 0.35rem 0;
    }
    
    .kku-red-header .header-bar {
        padding: 0.45rem 0.6rem;
        border-radius: 12px;
        overflow: visible;
        max-width: 100%;
        box-sizing: border-box;
    }

    .kku-red-header .header-bar .header-bar-inner {
        gap: 0.4rem;
        min-width: 0;
        width: 100%;
        flex-wrap: nowrap !important;
    }

    .kku-red-header .header-bar .header-logo-link {
        flex: 0 1 auto;
        min-width: 0;
        max-width: min(46vw, 11.5rem);
        padding: 0.32rem 0.5rem 0.32rem 0.4rem;
        gap: 0.35rem;
    }

    .kku-red-header .header-bar .header-logo-title {
        font-size: 0.9rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .kku-red-header .header-bar .header-actions {
        height: auto;
        flex: 0 1 auto;
        flex-shrink: 1;
        min-width: 0;
        max-width: 58%;
        gap: 0.35rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .kku-red-header .navbar-brand {
        font-size: 1rem;
        padding: 6px 10px;
        flex-wrap: nowrap;
    }
    
    .kku-red-header .header-logo {
        height: 36px;
        margin-right: 0.4rem;
    }
    
    .kku-red-header .brand-logo {
        font-size: 1.3rem;
    }
    
    .kku-red-header .brand-logo-sub {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .kku-red-header .brand-logo-sub-mobile {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .kku-red-header .navbar-toggler {
        padding: 0.35rem 0.6rem;
        border-width: 2px;
        margin-left: auto;
    }
    
    .kku-red-header .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        animation: slideDown 0.3s ease-out;
    }
    
    .kku-red-header .navbar-collapse.collapsing {
        transition: height 0.35s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .kku-mta-style-header .header-contact-mta {
        display: none;
    }
    .kku-mta-style-header .header-right-mta {
        gap: 0.5rem;
    }
    .kku-mta-style-header .brand-uni {
        display: none !important;
    }
    .kku-mta-style-header .brand-logo-sub {
        border-left: none;
        padding-left: 0;
    }
    .kku-red-header .header-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .kku-red-header .header-social .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Footer mobil düzenlemeler */
    .kku-footer .footer-bottom .row {
        text-align: center;
    }

    .kku-footer .footer-legal-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .kku .footer-copyright .row {
        text-align: center;
    }
    
    .kku .footer-copyright .col-md-4 {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .kku .copyright-text {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .kku .copyright-text strong {
        font-size: 0.95rem;
    }
    
    .kku .footer-address,
    .kku .footer-department {
        font-size: 0.8rem;
    }
    
    /* Tablo ve içerik düzenlemeler */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Form düzenlemeler */
    .form-control {
        width: 100%;
        max-width: 100%;
    }
    
    /* Modal düzenlemeler */
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    /* Grid: yatay boşluk yalnızca container gutter ile (Bootstrap gutter çakışmasını önle) */
    .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .kku-main .main-content {
        overflow-x: visible;
    }

    .kku-main .main-content .quick-filters,
    .kku-main .main-content .filter-tags {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için ek düzenlemeler */
    body {
        font-size: 14px;
    }
    
    .container, .container-fluid {
        padding-left: var(--kku-mobile-gutter, 12px);
        padding-right: var(--kku-mobile-gutter, 12px);
    }
    
    .kku-header .brand-text {
        font-size: 1.2rem;
    }

    .kku-header .login-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .kku-red-header .header-bar {
        padding: 0.4rem 0.55rem;
        border-radius: 10px;
    }
    
    .kku-red-header .navbar-brand {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .kku-red-header .header-logo {
        height: 32px;
        margin-right: 0.3rem;
    }
    
    .kku-red-header .brand-logo {
        font-size: 1.1rem;
    }
    
    .kku-red-header .brand-logo-sub {
        font-size: 0.95rem;
    }
    
    .kku-red-header .brand-logo-sub-mobile {
        font-size: 0.85rem;
    }
    
    .kku-red-header .navbar-toggler {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .kku-red-header .header-social .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .kku-footer {
        padding: 3rem 0 1.5rem 0;
    }

        .kku-footer .footer-title {
            font-size: 0.9rem;
        }

        .kku-footer .app-btn img {
            height: 35px;
        }
    
    /* Küçük ekranlar için özel düzenlemeler */
    .card {
        margin-bottom: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-dialog {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Çok küçük ekranlar için ekstra düzenlemeler */
@media (max-width: 320px) {
    body {
        font-size: 12px;
    }
    
    .container, .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .kku-red-header .header-bar {
        padding: 0.35rem 0.5rem;
        border-radius: 8px;
    }
    
    .kku-red-header .navbar-brand {
        font-size: 0.85rem;
        padding: 4px 6px;
    }
    
    .kku-red-header .header-logo {
        height: 28px;
        margin-right: 0.25rem;
    }
    
    .kku-red-header .brand-logo {
        font-size: 1rem;
    }
    
    .kku-red-header .brand-logo-sub {
        font-size: 0.85rem;
    }
    
    .kku-red-header .brand-logo-sub-mobile {
        font-size: 0.75rem;
    }
    
    .kku-red-header .navbar-toggler {
        padding: 0.25rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .kku-red-header .header-social .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modal-dialog {
        margin: 2px;
        max-width: calc(100% - 4px);
    }
    
    .card {
        margin-bottom: 0.25rem;
    }
    
    .table-responsive {
        font-size: 0.7rem;
    }
}

/* Ana iÃƒÆ’Ã‚Â§erik */
main {
    min-height: 60vh;
    padding: 2rem 0;
}

/* ===== Umran Red Footer (exact-like) ===== */
.kku-red-footer {
    background: #0f172a; /* very dark slate */
    color: #cbd5e1; /* slate-300 */
    padding: 2.5rem 0 1.5rem 0;
}

    .kku-red-footer .footer-top {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        border-radius: 18px;
        padding: 1.25rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        color: #fff;
        box-shadow: 0 12px 30px rgba(239, 68, 68, 0.25);
        margin-bottom: 2rem;
    }

    .kku-red-footer .footer-logo {
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: .5px;
        margin: 0;
    }

    .kku-red-footer .footer-contact h3 {
        margin: 0;
        font-weight: 800;
        color: #fff;
    }

    .kku-red-footer .footer-contact p {
        margin: .25rem 0 0 0;
        color: rgba(255,255,255,.9);
    }

    .kku-red-footer .footer-social {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

        .kku-red-footer .footer-social .social-icon {
            width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,.15);
            color: #fff;
            text-decoration: none;
            transition: all .25s ease;
        }

            .kku-red-footer .footer-social .social-icon:hover {
                background: #fff;
                color: #dc2626;
                transform: translateY(-2px);
            }

    /* Footer title underline and live icon */
    .kku-red-footer .footer-title {
        position: relative;
        padding-bottom: .6rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

        .kku-red-footer .footer-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 56px;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, #ef4444, #dc2626);
            box-shadow: 0 2px 8px rgba(239, 68, 68, .45);
        }

.footer-title-icon {
    color: #ef4444;
    animation: livePulse 1.6s infinite ease-in-out;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.0));
    }

    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.0));
    }
}

/* Animated list items */
.kku-red-footer .footer-links li {
    transform: translateY(0);
    transition: transform .2s ease, opacity .2s ease;
}

    .kku-red-footer .footer-links li:hover {
        transform: translateY(-3px);
    }

.kku-red-footer .footer-links a {
    position: relative;
}

    .kku-red-footer .footer-links a::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ef4444;
        opacity: 0;
        transition: opacity .2s ease, left .2s ease;
    }

    .kku-red-footer .footer-links a:hover::before {
        opacity: 1;
        left: -4px;
    }

.kku-red-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .kku-red-footer .footer-links li {
        margin-bottom: .6rem;
    }

    .kku-red-footer .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        transition: color .2s ease;
    }

        .kku-red-footer .footer-links a:hover {
            color: #ffffff;
        }

.kku-red-footer .footer-legal-links {
    display: inline-flex;
    gap: 1.25rem;
}

    .kku-red-footer .footer-legal-links a {
        color: #94a3b8;
        text-decoration: none;
    }

        .kku-red-footer .footer-legal-links a:hover {
            color: #ffffff;
        }

@media (max-width: 992px) {
    .kku-red-footer .footer-top {
        flex-direction: column;
        text-align: center;
        gap: .75rem;
    }
}

/* ===== Shaped Header Bar (Umran-like) ===== */
.kku-red-header .header-bar {
    background: var(--kku-header-bg, #B91C1C) !important;
    background-image: none !important;
    border-radius: 14px;
    padding: .2625rem .75rem;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--kku-header-bg, #B91C1C) 35%, transparent);
    width: 100%;
    display: flex;
    align-items: center;
    transition: background-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
/* Logo solda; Personel Giriş + sosyal medya sağda */
.kku-red-header .header-bar .header-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    direction: ltr !important;
}
/* Logo + ayırıcı + Kariyer: beyaz kart içinde (border-radius 10px) */
.kku-red-header .header-bar .header-logo-link {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin: 0;
    padding: 0.4rem 0.75rem 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: box-shadow .2s ease, background .2s ease;
}
.kku-red-header .header-bar .header-logo-link:hover {
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.kku-red-header .header-bar .header-logo-link .header-logo,
.kku-red-header .header-bar .header-logo-link .header-logo-crest {
    margin-right: 0;
    display: block;
}
.kku-red-header .header-bar .header-logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}
.kku-red-header .header-bar .header-logo-crest {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.kku-red-header .header-bar .header-logo-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    color: #002e6e;
    font-family: Lora, "Times New Roman", Times, Georgia, serif;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}
.kku-red-header .header-bar .header-logo-wordmark__name {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.kku-red-header .header-bar .header-logo-wordmark__type {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #002e6e;
}
.kku-red-header .header-bar .header-logo-sep {
    width: 1px;
    height: 1.5rem;
    background: rgba(0,0,0,.18);
    flex-shrink: 0;
}
.kku-red-header .header-bar .header-logo-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
/* Sağ: Personel Giriş + sosyal medya */
.kku-red-header .header-bar .header-actions {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
    justify-content: flex-end !important;
    width: auto !important;
    height:60px;
}
.kku-red-header .header-actions .personel-giris-btn { margin-left: 0; }
.kku-red-header .header-actions .header-social { margin-left: 0; margin-right: 0; }

/* Personel Giriş - base */
.kku-red-header .personel-giris-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: all .25s ease;
}
.kku-red-header .personel-giris-btn:hover { text-decoration: none; }

/* Personel Giriş - modern buton (2025) */
.kku-red-header .personel-giris-btn-modern {
    padding: 0.6rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--kku-brand, #b91c1c);
    background: var(--kku-cm-surface, #fff);
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    isolation: isolate;
    flex-shrink: 0;
    max-width: 100%;
}
.kku-red-header .personel-giris-btn-modern .btn-text-short {
    display: none;
}
.kku-red-header .personel-giris-btn-modern .personel-giris-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
}
.kku-red-header .personel-giris-btn-modern .personel-giris-btn-icon i { font-size: 0.95em; opacity: 0.9; }
.kku-red-header .personel-giris-btn-modern:hover {
    background: var(--kku-cm-surface-2, #f8fafc);
    color: var(--kku-brand-hover, #991b1b);
    box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.kku-red-header .personel-giris-btn-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.kku-red-header .personel-giris-btn-modern:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 5px var(--kku-accent, #dc2626);
}

/* Pulse efekti (dikkat çekici ama minimal) */
.kku-red-header .personel-giris-btn-modern::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.55);
    opacity: 0;
    z-index: -1;
    animation: kkuPulse 2.2s ease-out infinite;
    pointer-events: none;
}
.kku-red-header .personel-giris-btn-modern:hover::after,
.kku-red-header .personel-giris-btn-modern:active::after,
.kku-red-header .personel-giris-btn-modern:focus-visible::after {
    animation: none;
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .kku-red-header .personel-giris-btn-modern::after { animation: none; }
}
@keyframes kkuPulse {
    0% { transform: scale(0.96); opacity: 0.55; }
    70% { transform: scale(1.08); opacity: 0; }
    100% { transform: scale(1.08); opacity: 0; }
}

.kku-red-header {
    padding: .225rem 0;
}

    .kku-red-header .navbar-brand {
        font-size: 2.25rem;
    }

    .kku-red-header .navbar-nav .nav-link {
        font-size: .95rem;
    }

    .kku-red-header .giris-btn {
        border-width: 2px;
    }

    /* Header social icons */
    .kku-red-header .header-social {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        flex-wrap: wrap;
        margin-left: auto;
    }

        .kku-red-header .header-social .social-icon {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: #fff;
            text-decoration: none;
            background: rgba(255,255,255,.18);
            transition: all .25s ease;
            flex-shrink: 0;
        }

            .kku-red-header .header-social .social-icon:hover {
                background: #fff;
                color: #dc2626;
                transform: translateY(-2px);
            }
            
            .kku-red-header .header-social .social-icon:active {
                transform: translateY(0);
            }

/* Footer cards */
.kku-red-footer .footer-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .kku-red-footer .footer-card:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,.06);
        box-shadow: 0 16px 32px rgba(0,0,0,.25);
    }

/* KKU header logo */
.kku-red-header .header-logo,
.kku-red-header .header-logo-crest {
    height: 60px;
    width: 60px;
    margin-right: 0;
    flex-shrink: 0;
    object-fit: contain;
}

/* Mobile brand text */
.kku-red-header .brand-logo-sub-mobile {
    display: none;
}

@media (max-width: 576px) {
    .kku-red-header .brand-logo-sub {
        display: none;
    }
    
    .kku-red-header .brand-logo-sub-mobile {
        display: inline;
    }

    .kku-red-header .header-bar {
        padding: 0.32rem 0.35rem;
        overflow: visible;
    }

    .kku-red-header .header-bar .header-bar-inner {
        gap: 0.3rem;
        min-width: 0;
    }

    .kku-red-header .header-bar .header-logo-link {
        padding: 0.24rem 0.35rem 0.24rem 0.28rem;
        gap: 0.25rem;
        min-width: 0;
        max-width: min(58vw, 14rem);
        flex: 0 1 auto;
    }

    .kku-red-header .header-bar .header-logo,
    .kku-red-header .header-bar .header-logo-crest {
        height: 36px;
        width: 36px;
    }

    .kku-red-header .header-bar .header-logo-brand {
        gap: 0.3rem;
    }

    .kku-red-header .header-bar .header-logo-wordmark__name {
        font-size: 0.68rem;
    }

    .kku-red-header .header-bar .header-logo-wordmark__type {
        font-size: 0.54rem;
        font-weight: 600;
    }

    .kku-red-header .header-bar .header-logo-title {
        font-size: 0.78rem;
    }

    .kku-red-header .header-bar .header-logo-sep {
        height: 1.1rem;
    }

    .kku-red-header .header-bar .header-actions {
        height: auto;
        flex: 0 1 auto;
        flex-shrink: 1;
        gap: 0.22rem;
        min-width: 0;
        max-width: 62%;
    }

    .kku-red-header .header-social {
        display: none !important;
    }

    .kku-red-header .personel-giris-btn-modern {
        padding: 0.34rem 0.48rem;
        font-size: 0.72rem;
        white-space: nowrap;
        border-radius: 10px;
        gap: 0.3rem;
        letter-spacing: 0;
    }

    .kku-red-header .personel-giris-btn-modern .btn-text-full {
        display: none;
    }

    .kku-red-header .personel-giris-btn-modern .btn-text-short {
        display: inline;
    }

    .kku-red-header .personel-giris-btn-modern .personel-giris-btn-icon {
        width: 1.05em;
        height: 1.05em;
    }

    /* Tema etiketini gizle — sadece palette ikonu kalsın */
    .kku-theme-trigger__label {
        display: none !important;
    }
}

/* Çok dar telefonlar: logo metnini küçült, buton tam görünsün */
@media (max-width: 400px) {
    .kku-red-header .header-bar .header-logo-title {
        font-size: 0.75rem;
    }

    .kku-red-header .header-bar .header-logo,
    .kku-red-header .header-bar .header-logo-crest {
        height: 32px;
        width: 32px;
    }

    /* Çok dar ekranda yazı satırını gizle — arma + Kariyer kalsın */
    .kku-red-header .header-bar .header-logo-wordmark {
        display: none;
    }

    .kku-red-header .personel-giris-btn-modern {
        padding: 0.34rem 0.48rem;
        font-size: 0.72rem;
    }
}

/* Footer title underline full width */
.kku-red-footer .footer-card .footer-title {
    padding-bottom: .75rem;
}

    .kku-red-footer .footer-card .footer-title::after {
        width: 100%;
        left: 0;
        right: 0;
    }

/* Center contact in top band */
.kku-red-footer .footer-top {
    text-align: center;
}

    .kku-red-footer .footer-top .footer-brand,
    .kku-red-footer .footer-top .footer-social {
        flex: 1;
    }

    .kku-red-footer .footer-top .footer-contact {
        flex: 1;
    }

        .kku-red-footer .footer-top .footer-contact h3,
        .kku-red-footer .footer-top .footer-contact p {
            text-align: center;
        }

/* ===== Alias: kku == kku-red-footer ===== */
.kku {
    background: var(--kku-footer-bg, #0f172a);
    color: var(--kku-footer-text, #cbd5e1);
    padding: 0;
}

    /* Üst şerit: seçili tema marka rengi */
    .kku .footer-top {
        background: linear-gradient(135deg, var(--kku-brand, #c41e3a) 0%, var(--kku-brand-hover, #9b1528) 100%);
        padding: 1.25rem 0;
        color: #fff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .kku .footer-top-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .kku .footer-logo {
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: .3px;
    }

    .kku .footer-contact {
        text-align: center;
    }

    .kku .footer-contact h3 {
        margin: 0;
        font-weight: 700;
        font-size: 1.25rem;
        color: #fff;
    }

    .kku .footer-contact p {
        margin: .2rem 0 0 0;
        font-size: 0.9rem;
        color: rgba(255,255,255,.9);
    }

    .kku .footer-brand {
        flex: 1;
        min-width: 180px;
    }

    .kku .footer-contact {
        flex: 1;
        min-width: 200px;
    }

    .kku .footer-social {
        flex: 1;
        display: flex;
        align-items: center;
        gap: .5rem;
        justify-content: flex-end;
        min-width: 180px;
    }

        .kku .footer-social .social-icon {
            width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,.15);
            color: #fff;
            text-decoration: none;
            transition: all .25s ease;
        }

            .kku .footer-social .social-icon:hover {
                background: #fff;
                color: var(--kku-brand, #dc2626);
                transform: translateY(-2px);
            }

    .kku .footer-card {
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        padding: 1.25rem;
        height: 100%;
        box-shadow: 0 10px 24px rgba(0,0,0,.15);
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

        .kku .footer-card:hover {
            transform: translateY(-4px);
            background: rgba(255,255,255,.06);
            box-shadow: 0 16px 32px rgba(0,0,0,.25);
        }

    .kku .footer-title {
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: .5px;
        position: relative;
        padding-bottom: .75rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

        .kku .footer-title::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 3px;
            border-radius: 3px;
            width: 100%;
            background: linear-gradient(90deg, var(--kku-brand, #ef4444), var(--kku-brand-hover, #dc2626));
            box-shadow: 0 2px 8px color-mix(in srgb, var(--kku-brand, #ef4444) 45%, transparent);
        }

    .kku .footer-links {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .kku .footer-links li {
            margin-bottom: .6rem;
            transform: translateY(0);
            transition: transform .2s ease, opacity .2s ease;
        }

            .kku .footer-links li:hover {
                transform: translateY(-3px);
            }

        .kku .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color .2s ease;
            position: relative;
            display: block;
        }

            .kku .footer-links a:hover {
                color: #fff;
            }

            .kku .footer-links a::before {
                content: "";
                position: absolute;
                left: -10px;
                top: 50%;
                transform: translateY(-50%);
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: var(--kku-brand, #ef4444);
                opacity: 0;
                transition: opacity .2s ease, left .2s ease;
            }

            .kku .footer-links a:hover::before {
                opacity: 1;
                left: -4px;
            }

    .kku .footer-legal-links {
        display: inline-flex;
        gap: 1.25rem;
    }

        .kku .footer-legal-links a {
            color: #94a3b8;
            text-decoration: none;
        }

            .kku .footer-legal-links a:hover {
                color: #fff;
            }

    /* Orta bölüm: link kartları */
    .kku .footer-main {
        padding: 2rem 0;
    }

    .kku .footer-cards-row {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

@media (max-width: 992px) {
    .kku .footer-top-inner {
        flex-direction: column;
        text-align: center;
    }

    .kku .footer-social {
        justify-content: center;
    }
}

/* Footer title icon bigger */
.footer-title-icon {
    font-size: 1.05rem;
}

.kku .footer-title .footer-title-icon {
    font-size: 1.2rem;
}

/* Footer KKU logo image */
.kku .footer-logo-img {
    height: 48px;
    width: auto;
    vertical-align: middle;
    background: white;
    border-radius: 10px;
    padding: 4px;
    object-fit: contain;
}

.kku .footer-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.kku .footer-brand .footer-logo {
    margin: 0;
}

/* Scroll reveal: fade-in on enter, fade-out on leave */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

/* Optional direction variants */
.reveal-left {
    transform: translateX(-16px);
}

.reveal-right {
    transform: translateX(16px);
}

    .reveal-left.is-visible, .reveal-right.is-visible {
        transform: none;
    }

/* Delay helpers */
.reveal[data-delay="100"] {
    transition-delay: .1s;
}

.reveal[data-delay="200"] {
    transition-delay: .2s;
}

.reveal[data-delay="300"] {
    transition-delay: .3s;
}

.reveal[data-delay="400"] {
    transition-delay: .4s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Spacing between bullet dot and link text */
.kku .footer-links a {
    padding-left: 14px; /* provide gap for the dot */
}

    .kku .footer-links a::before {
        left: 0; /* align dot inside the padding area */
    }

    .kku .footer-links a:hover::before {
        left: 0; /* keep dot steady; just fade in */
        opacity: 1;
    }

/* Footer alt telif şeridi: tam genişlik, iki satır */
.kku .footer-copyright {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
}

.kku .footer-copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.kku .footer-copyright-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.kku .footer-copyright-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.kku .footer-copyright-item strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.kku .footer-copyright-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.65rem;
    user-select: none;
}

.kku .footer-copyright .footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.kku .footer-copyright .footer-department {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.kku .footer-copyright .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.25rem;
    justify-content: center;
}

.kku .footer-copyright .footer-legal-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.kku .footer-copyright .footer-legal-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .kku .footer-copyright-item {
        white-space: normal;
    }

    .kku .footer-copyright-info {
        flex-direction: column;
        gap: 0.25rem;
    }

    .kku .footer-copyright-sep {
        display: none;
    }
}

/* Equal-height footer titles for perfect symmetry */
.kku .footer-card {
    display: flex;
    flex-direction: column;
}

    .kku .footer-card .footer-title {
        min-height: 56px; /* keep same block height even if title wraps */
        line-height: 1.25;
        align-items: flex-end; /* underline aligns at same vertical line */
    }

@media (max-width: 576px) {
    .kku .footer-card .footer-title {
        min-height: 44px;
    }
}

/* Footer kolonlarında dikey scrollbar olmasın; içerik tam görünsün */
.kku .footer-card,
.kku .footer-links,
.kku .row .footer-card .footer-links {
    overflow: visible !important;
}
.kku .row.g-4 [class*="col-"] {
    overflow: visible !important;
}

/* ===== GENEL MOBİL DÜZENLEMELERİ ===== */

/* Viewport meta tag için ekstra güvenlik */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Tüm elementlerin ekran sınırları içinde kalmasını sağla */
* {
    box-sizing: border-box;
}

/* Horizontal scroll'u engelle */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Container'ların taşmasını engelle */
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    max-width: 100%;
    overflow-x: hidden;
}

/* Row'ların taşmasını engelle */
.row {
    max-width: 100%;
    overflow-x: hidden;
}

/* Col'ların taşmasını engelle */
[class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tabloların responsive olmasını sağla */
table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
}

/* Resimlerin responsive olmasını sağla */
img {
    max-width: 100%;
    height: auto;
}

/* Video elementlerinin responsive olmasını sağla */
video {
    max-width: 100%;
    height: auto;
}

/* Iframe'lerin responsive olmasını sağla */
iframe {
    max-width: 100%;
}

/* Form elementlerinin responsive olmasını sağla */
input, textarea, select {
    max-width: 100%;
    width: 100%;
}

/* Button'ların taşmasını engelle */
.btn {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal'ların mobilde düzgün görünmesini sağla */
.modal {
    padding: 0 !important;
}

.modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
}

.modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Dropdown'ların taşmasını engelle */
.dropdown-menu {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Navbar'ın mobilde düzgün görünmesini sağla */
.navbar {
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-nav {
    max-width: 100%;
}

.navbar-brand {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card'ların responsive olmasını sağla */
.card {
    max-width: 100%;
    overflow-x: hidden;
}

.card-body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Alert'lerin responsive olmasını sağla */
.alert {
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Badge'lerin taşmasını engelle */
.badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Progress bar'ların responsive olmasını sağla */
.progress {
    max-width: 100%;
}

/* List group'ların responsive olmasını sağla */
.list-group {
    max-width: 100%;
}

.list-group-item {
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Pagination'ın responsive olmasını sağla */
.pagination {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Breadcrumb'ın responsive olmasını sağla */
.breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Carousel'ın responsive olmasını sağla */
.carousel {
    max-width: 100%;
}

.carousel-item {
    max-width: 100%;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
}

/* Accordion'ın responsive olmasını sağla */
.accordion {
    max-width: 100%;
}

.accordion-item {
    max-width: 100%;
}

.accordion-body {
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Tab'ların responsive olmasını sağla */
.nav-tabs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tooltip ve Popover'ların responsive olmasını sağla */
.tooltip {
    max-width: 90vw;
    word-wrap: break-word;
}

.popover {
    max-width: 90vw;
    word-wrap: break-word;
}

/* Flexbox elementlerinin responsive olmasını sağla */
.d-flex {
    max-width: 100%;
    overflow-x: hidden;
}

.flex-wrap {
    max-width: 100%;
}

/* Grid elementlerinin responsive olmasını sağla */
.d-grid {
    max-width: 100%;
}

/* Text overflow için genel kural */
.text-truncate {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Word wrap için genel kural */
.text-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Küçük ekranlarda font boyutlarını optimize et */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.8rem; }
    
    .display-1 { font-size: 2rem; }
    .display-2 { font-size: 1.8rem; }
    .display-3 { font-size: 1.6rem; }
    .display-4 { font-size: 1.4rem; }
}

/* Çok küçük ekranlarda font boyutlarını daha da küçült */
@media (max-width: 320px) {
    body {
        font-size: 12px;
    }
    
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.9rem; }
    h5 { font-size: 0.8rem; }
    h6 { font-size: 0.7rem; }
    
    .display-1 { font-size: 1.8rem; }
    .display-2 { font-size: 1.6rem; }
    .display-3 { font-size: 1.4rem; }
    .display-4 { font-size: 1.2rem; }
}

/* SweetAlert2 Özelleştirmeleri */
.swal-popup-custom {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #e2e8f0 !important;
}

.swal-title-custom {
    color: #2d3748 !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}

.swal-content-custom {
    color: #4a5568 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* SweetAlert2 Buton Özelleştirmeleri */
.swal2-confirm {
    border-radius: 8px !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3) !important;
}

.swal2-cancel {
    border-radius: 8px !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

.swal2-cancel:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

/* SweetAlert2 İkon Özelleştirmeleri */
.swal2-icon {
    border-radius: 50% !important;
}

.swal2-icon.swal2-warning {
    border-color: #f6ad55 !important;
    color: #f6ad55 !important;
}

.swal2-icon.swal2-error {
    border-color: #fc8181 !important;
    color: #fc8181 !important;
}

.swal2-icon.swal2-info {
    border-color: #4299e1 !important;
    color: #4299e1 !important;
}

.swal2-icon.swal2-success {
    border-color: #68d391 !important;
    color: #68d391 !important;
}

/* SweetAlert2 Timer Progress Bar */
.swal2-timer-progress-bar {
    background: #4299e1 !important;
}

/* SweetAlert2 Animasyonları */
.swal2-show {
    animation: swal2-show 0.3s ease-out !important;
}

.swal2-hide {
    animation: swal2-hide 0.3s ease-in !important;
}

@keyframes swal2-show {
    0% {
        transform: scale(0.7) !important;
        opacity: 0 !important;
    }
    100% {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}

@keyframes swal2-hide {
    0% {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
    100% {
        transform: scale(0.7) !important;
        opacity: 0 !important;
    }
}
