/* Shared/Components/Header/Default.cshtml dosyasından taşındı (satır içi blok). */
/* Scrollbar Titremesini Önleme ve Yatay Taşmayı Engelleme */
html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
    overflow-x: hidden !important;
    max-width: 100vw;
}
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Header Anında Sabit Boyut ve Sıfır Gecikme */
.hkmo-header-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
}
.hkmo-header-nav .header-inner-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 68px !important;
    min-height: 68px !important;
}

/* Header Logo & Başlık - Hem Masaüstü Hem Mobilde İki Satırlı Kurumsal Düzen */
.hkmo-header-nav .header-logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    line-height: 1.15 !important;
    user-select: none !important;
}
.hkmo-header-nav .header-logo-org {
    color: #0f172a !important; /* Üst satır: Siyah HKMO */
    font-weight: 700 !important;
    font-size: 11.5px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
.hkmo-header-nav .header-logo-center {
    color: #ED1C24 !important; /* Alt satır: Kırmızı Eğitim ve Belgelendirme Merkezi */
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    margin-top: 1.5px !important;
    white-space: nowrap !important;
}
@media (min-width: 768px) {
    .hkmo-header-nav .header-logo-org {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    .hkmo-header-nav .header-logo-center {
        font-size: 14px !important;
        margin-top: 2px !important;
        line-height: 1.2 !important;
    }
}

/* Genel Sıfırlama */
.hkmo-header-nav a {
    text-decoration: none !important;
}

/* Menü Bağlantıları - Canlı Koyu Renk (Soluk değil), Birbirine Yakın, Tok Font */
.hkmo-header-nav .header-nav-link {
    color: #0f172a !important; /* Canlı, net koyu renk - asla soluk değil */
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    padding: 7px 11px !important; /* Birbirine yakın ve derli toplu */
    border-radius: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}
.hkmo-header-nav .header-nav-link:hover,
.hkmo-header-nav .header-nav-link:focus {
    color: #ED1C24 !important;
    background-color: #fef2f2 !important;
}
.hkmo-header-nav .header-nav-link.header-nav-link-active,
.hkmo-header-nav .header-nav-link-active {
    color: #ED1C24 !important;
    font-weight: 600 !important;
    background-color: #fef2f2 !important;
}

/* Kullanıcı Profil Tetikleyici Butonu */
.hkmo-header-nav .header-user-btn {
    border: 1.5px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    transition: all 0.15s ease-in-out !important;
}
.hkmo-header-nav .header-user-btn:hover {
    border-color: #fca5a5 !important;
    background-color: #fff1f2 !important;
    box-shadow: 0 2px 8px rgba(237, 28, 36, 0.08) !important;
}
.hkmo-header-nav .header-user-btn[aria-expanded="true"] {
    border-color: #ED1C24 !important;
    background-color: #fff1f2 !important;
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.12) !important;
}

/* Kullanıcı Dropdown - Net & Profesyonel Kırmızı Hover */
.hkmo-header-nav .header-dropdown-item {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: all 0.15s ease-in-out !important;
}
.hkmo-header-nav .header-dropdown-item i {
    color: #64748b !important;
    font-size: 16px !important;
    transition: color 0.15s ease-in-out !important;
}
.hkmo-header-nav .header-dropdown-item:hover,
.hkmo-header-nav .header-dropdown-item:focus {
    color: #ED1C24 !important;
    background-color: #fef2f2 !important;
}
.hkmo-header-nav .header-dropdown-item:hover i,
.hkmo-header-nav .header-dropdown-item:focus i {
    color: #ED1C24 !important;
}

/* Çıkış Yap Butonu */
.hkmo-header-nav .header-dropdown-logout {
    color: #dc2626 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: all 0.15s ease-in-out !important;
}
.hkmo-header-nav .header-dropdown-logout i {
    color: #ef4444 !important;
    font-size: 16px !important;
    transition: color 0.15s ease-in-out !important;
}
.hkmo-header-nav .header-dropdown-logout:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
}

/* Giriş ve Kayıt Butonları */
.hkmo-header-nav .header-btn-login {
    color: #0f172a !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}
.hkmo-header-nav .header-btn-login:hover {
    color: #ED1C24 !important;
    background-color: #fef2f2 !important;
}
.hkmo-header-nav .header-btn-register {
    background-color: #ED1C24 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 6px rgba(237, 28, 36, 0.2) !important;
    transition: all 0.15s ease !important;
}
.hkmo-header-nav .header-btn-register:hover {
    background-color: #b91017 !important;
    color: #ffffff !important;
}

/* Mobil Menü */
.hkmo-header-nav .mobile-nav-link {
    color: #0f172a !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}
.hkmo-header-nav .mobile-nav-link:hover {
    color: #ED1C24 !important;
    background-color: #fef2f2 !important;
}
.hkmo-header-nav .mobile-nav-link.mobile-nav-link-active {
    color: #ED1C24 !important;
    background-color: #fef2f2 !important;
    font-weight: 700 !important;
}

