/* ============================================
   GLOBAL AVATAR FRAME SYSTEM
============================================ */
.profile-avatar-frame {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

/* ============================================
   TOPBAR THEME TOGGLE BUTTON FIX
   Arkadaşınızın bozduğu header sistemini düzelten CSS
============================================ */

/* Üst bar sağ taraf düzeni */
.fp-top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Tema Toggle Butonu (Üst Bar) */
.fp-theme-toggle-topbar {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--topbar-text) !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.fp-theme-toggle-topbar:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2) !important;
}

.fp-theme-toggle-topbar i {
    font-size: 18px !important;
    transition: transform 0.3s ease !important;
}

.fp-theme-toggle-topbar:hover i {
    transform: rotate(20deg) !important;
}

/* Tema ikonlarını gizle/göster (Topbar) */
[data-theme="light"] .fp-theme-toggle-topbar .fp-theme-icon-dark {
    display: none !important;
}

[data-theme="dark"] .fp-theme-toggle-topbar .fp-theme-icon-light {
    display: none !important;
}

[data-theme="light"] .fp-theme-toggle-topbar .fp-theme-icon-light {
    display: inline !important;
    color: #ffd700 !important;
}

[data-theme="dark"] .fp-theme-toggle-topbar .fp-theme-icon-dark {
    display: inline !important;
    color: #ffd93d !important;
}

/* Header hamburger menü düzeltmeleri */
.fp-hamburger-dropdown {
    position: relative;
}

.fp-hamburger-trigger {
    background: transparent;
    border: none;
    color: var(--mainbar-text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fp-hamburger-trigger:hover {
    background: var(--action-btn-hover);
}

.fp-hamburger-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--mega-menu-bg);
    border-radius: 12px;
    box-shadow: var(--mega-menu-shadow);
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.fp-hamburger-dropdown:hover .fp-hamburger-menu,
.fp-hamburger-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger menü öğeleri */
.fp-hamburger-menu-items {
    padding: 10px;
}

.fp-hamburger-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--mega-menu-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.fp-hamburger-menu-item:hover {
    background: var(--mega-menu-item-hover);
    color: #667eea;
    text-decoration: none;
}

.fp-hamburger-menu-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.fp-hamburger-menu-divider {
    height: 1px;
    background: var(--mega-menu-border);
    margin: 8px 16px;
}

.fp-hamburger-menu-item.fp-admin-item {
    color: #f6ad55;
}

.fp-hamburger-menu-item.fp-admin-item:hover {
    background: rgba(246, 173, 85, 0.1);
    color: #dd6b20;
}

.fp-hamburger-menu-item.fp-logout-item {
    color: #fc8181;
}

.fp-hamburger-menu-item.fp-logout-item:hover {
    background: rgba(252, 129, 129, 0.1);
    color: #e53e3e;
}

/* Bakiye kartı */
.fp-balance-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    margin-bottom: 15px;
}

.fp-balance-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.fp-balance-card-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    position: relative;
    /* Fixed: Added relative for frame */
}

.fp-balance-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Image itself remains round */
}

.fp-balance-card-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--mega-menu-text);
}

.fp-balance-card-info p {
    margin: 0;
    font-size: 13px;
    color: var(--navbar-text);
    opacity: 0.7;
}

.fp-balance-card-balance {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.fp-balance-card-balance .label {
    font-size: 12px;
    color: var(--navbar-text);
    opacity: 0.7;
}

.fp-balance-card-balance .amount {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.fp-balance-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fp-balance-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ============================================
   BİLDİRİM SİSTEMİ - PREMİUM YENİ TASARIM
   ============================================ */
.fp-notification-wrapper {
    z-index: 1001;
    position: relative;
    /* Fixed: Added to anchor the absolute dropdown */
}

.fp-nav-notification-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    /* Aligned to the right edge of the icon parent */
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 380px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: top right;
}

@media (max-width: 480px) {
    .fp-nav-notification-menu {
        right: auto;
        left: 50%;
        transform: translateY(-20px) scale(0.95) translateX(-50%);
        width: calc(100vw - 40px);
    }

    .fp-nav-notification-menu.show {
        transform: translateY(0) scale(1) translateX(-50%);
    }
}

.fp-nav-notification-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fp-nnm-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.fp-nnm-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    border: none;
    padding: 0;
}

.allSetSeen {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.allSetSeen:hover {
    background: #6366f1;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.fp-nnm-list {
    overflow-y: auto;
    flex: 1;
    padding: 10px;
}

/* Scrollbar Style */
.fp-nnm-list::-webkit-scrollbar {
    width: 4px;
}

.fp-nnm-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.fp-nnm-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.fp-nnm-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.fp-nnm-item.new {
    background: rgba(99, 102, 241, 0.1);
}

.fp-nnm-item.new::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #6366f1;
    border-radius: 50%;
    box-shadow: 0 0 10px #6366f1;
}

.fp-nnm-item-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fp-nnm-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-nnm-item-content {
    flex: 1;
    min-width: 0;
}

.fp-nnm-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-nnm-item-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-nnm-item-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-nnm-item-date::before {
    content: '\eb6a';
    /* remixicon ri-time-line */
    font-family: 'remixicon';
    font-size: 12px;
}

.fp-nnm-empty {
    padding: 60px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.fp-nnm-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}

.fp-nnm-empty p {
    font-size: 14px;
    margin: 0;
}

.fp-icon-badge-round {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #6366f1;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0c10;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* İkon badge düzeltmeleri */
.fp-icon-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--mainbar-text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fp-icon-btn:hover {
    background: var(--action-btn-hover);
    color: var(--mainbar-text);
    text-decoration: none;
}

.fp-icon-btn i {
    font-size: 20px;
}

.fp-icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* Kullanıcı bilgi butonları */
.fp-btn-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.fp-btn-balance:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.fp-btn-balance i {
    font-size: 18px;
}

.fp-user-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fp-user-info-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.fp-user-avatar-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.fp-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--mainbar-text);
}

.fp-balance {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
}

/* Responsive düzeltmeler */
@media (max-width: 1200px) {
    .fp-user-info-btn .fp-user-details {
        display: none;
    }

    .fp-btn-balance span {
        display: none;
    }

    .fp-btn-balance {
        padding: 10px;
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .fp-theme-toggle-topbar {
        padding: 6px 10px;
    }

    .fp-theme-toggle-topbar i {
        font-size: 16px;
    }

    .fp-top-bar-right {
        gap: 8px;
    }

    .fp-hamburger-menu {
        min-width: 280px;
        right: -10px;
    }

    .fp-nav-notification-menu {
        min-width: 300px;
        right: -10px;
    }
}

@media (max-width: 576px) {
    .fp-top-text {
        font-size: 11px;
    }

    .fp-theme-toggle-topbar {
        padding: 5px 8px;
    }

    .fp-balance-card {
        padding: 15px;
    }
}

/* ============================================
   EK HEADER DÜZELTMELERİ
============================================ */

/* Mobil menü kapatma butonu */
.fp-mobile-menu-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--navbar-text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.fp-mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.fp-mobile-menu-close i {
    font-size: 20px;
}

@media (max-width: 992px) {
    .fp-mobile-menu-close {
        display: block !important;
    }
}

/* Scroll durumunda header shadow */
.fp-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Top bar scroll hide */
.fp-top-bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fp-top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Animasyonlar */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fp-hamburger-menu,
.fp-nav-notification-menu,
.fp-categories-mega-menu.show {
    animation: slideDown 0.3s ease forwards;
}

/* Loading animasyonu */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Header genel iyileştirmeler */
.fp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

/* CLİENT SAYFALARI İÇİN DÜZELTMEGörünmeme sorunu düzeltmesi */
.fp-section-page {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50vh !important;
}

.fp-section-page .container {
    display: block !important;
    visibility: visible !important;
}

.fp-section-page .row {
    display: flex !important;
    visibility: visible !important;
}

.fp-section-page .col-lg-9,
.fp-section-page .col-lg-3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Container genişlik düzeltmesi */
@media (min-width: 1400px) {

    .fp-top-bar .container,
    .fp-header .container,
    .fp-navbar .container {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {

    .fp-top-bar .container,
    .fp-header .container,
    .fp-navbar .container {
        max-width: 1520px;
    }
}

/* Overflow düzeltmesi - GİRİŞ YAPAN KULLANICILAR İÇİN DÜZELTİLDİ */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh !important;
}

body.overflow-hidden {
    overflow: hidden !important;
}

/* Client pages için body fix */
.client-page body,
body:not(.overflow-hidden) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Search results düzeltmesi */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mega-menu-bg);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--mega-menu-shadow);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
}

.search-results.d-none {
    display: none !important;
}

/* Link hover efektleri */
.fp-top-link,
.fp-hamburger-menu-item,
.fp-nnm-item,
.fp-category-list-item {
    position: relative;
    overflow: hidden;
}

.fp-top-link::before,
.fp-hamburger-menu-item::before,
.fp-category-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.fp-top-link:hover::before,
.fp-hamburger-menu-item:hover::before,
.fp-category-list-item:hover::before {
    left: 100%;
}

/* Focus düzeltmeleri */
.fp-theme-toggle-topbar:focus,
.fp-hamburger-trigger:focus,
.fp-icon-btn:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Scrollbar özelleştirme */
.fp-nav-notification-menu::-webkit-scrollbar,
.fp-categories-list-new::-webkit-scrollbar,
.search-results::-webkit-scrollbar {
    width: 8px;
}

.fp-nav-notification-menu::-webkit-scrollbar-track,
.fp-categories-list-new::-webkit-scrollbar-track,
.search-results::-webkit-scrollbar-track {
    background: var(--search-bg);
    border-radius: 10px;
}

.fp-nav-notification-menu::-webkit-scrollbar-thumb,
.fp-categories-list-new::-webkit-scrollbar-thumb,
.search-results::-webkit-scrollbar-thumb {
    background: var(--topbar-bg);
    border-radius: 10px;
}

.fp-nav-notification-menu::-webkit-scrollbar-thumb:hover,
.fp-categories-list-new::-webkit-scrollbar-thumb:hover,
.search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5865F2 0%, #6a4ba2 100%);
}

/* Print için düzeltme */
@media print {

    .fp-top-bar,
    .fp-header,
    .fp-navbar,
    .fp-mobile-bar {
        display: none !important;
    }
}

/* ============================================
   HEADER MODERNLEŞTİRME - YENİ TASARIM
============================================ */

/* Yuvarlak icon butonları */
.fp-icon-btn-round {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--mainbar-text);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0 6px;
}

.fp-icon-btn-round:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    color: var(--mainbar-text);
    text-decoration: none;
}

.fp-icon-btn-round i {
    font-size: 20px;
}

/* Yuvarlak badge */
.fp-icon-badge-round {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    border: 2px solid var(--mainbar-bg);
}

/* Notification ve Hamburger arası boşluk düzeltmesi */
.fp-notification-wrapper {
    margin-right: 0;
}

.fp-hamburger-dropdown {
    margin-left: 0;
}

/* Yuvarlak arama butonu */
.search-box-round {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--search-bg);
    border: 1px solid var(--search-border);
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
}

.search-box-round input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--search-text);
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
}

.search-box-round input::placeholder {
    color: var(--search-placeholder);
}

.search-icon-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
    flex-shrink: 0;
}

.search-icon-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.search-icon-btn i {
    font-size: 18px;
}

/* Modern kullanıcı bilgi alanı */
.fp-user-info-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-right: 8px;
    cursor: pointer;
}

.fp-user-info-modern:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fp-user-avatar-modern {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    /* Fixed: Added relative for frame */
}

.fp-user-avatar-modern img {
    border-radius: 50%;
}

.fp-user-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-user-name-modern {
    font-size: 14px;
    font-weight: 600;
    color: var(--mainbar-text);
    line-height: 1.2;
}

.fp-user-balance-modern {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    line-height: 1.2;
}

/* Hamburger menü sadece tıklamada açılır */
.fp-hamburger-menu {
    display: none;
}

.fp-hamburger-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bildirim menü sadece tıklamada açılır */
.fp-notification-dropdown {
    display: none;
}

.fp-notification-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fp-header .fp-hamburger-menu.show,
.fp-header .fp-notification-dropdown.show,
.fp-header .fp-nav-notification-menu.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.fp-header .fp-hamburger-menu.show {
    display: block !important;
}

.fp-header .fp-notification-dropdown.show,
.fp-header .fp-nav-notification-menu.show {
    flex-direction: column !important;
}

/* Responsive düzeltmeler */
@media (max-width: 1200px) {
    .fp-user-info-modern .fp-user-info-content {
        display: none;
    }

    .fp-user-info-modern {
        padding: 8px;
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .fp-icon-btn-round {
        width: 40px;
        height: 40px;
        margin: 0 4px;
    }

    .fp-icon-btn-round i {
        font-size: 18px;
    }

    .search-icon-btn {
        width: 40px;
        height: 40px;
    }

    .search-box-round input {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ============================================
   YENİ NAVBAR - hesap.com.tr STYLE
   ============================================ */

/* Ana navbar bar */
.fp-navbar {
    background: var(--bg-nav, #0f1623);
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: relative;
    z-index: 100;
}

/* Navbar iç kapsayıcı: flex, yatay */
.fp-navbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    height: 56px;
    overflow: hidden;
}

/* SOL: Kategoriler butonu */
.fp-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    background: var(--cp-accent, #5271ff);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
    border: none;
}
.fp-categories-btn:hover {
    background: #3d5aed;
    color: #fff !important;
    transform: translateY(-1px);
}
.fp-categories-btn i {
    font-size: 20px;
}

/* SAĞ: Yatay kategori linkleri kapsayıcı */
.fp-navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
}
.fp-navbar-links::-webkit-scrollbar { display: none; }

/* Her kategori linki */
.fp-navbar-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    padding: 0 16px;
    color: rgba(255,255,255,.85) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .18s, background .18s;
    border-right: 1px solid rgba(255,255,255,.05);
    position: relative;
}
.fp-navbar-link-item:last-child {
    border-right: none;
}
.fp-navbar-link-item:hover {
    color: #fff !important;
    background: rgba(255,255,255,.06);
}
.fp-navbar-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cp-accent, #5271ff);
    opacity: 0;
    transition: opacity .18s;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.fp-navbar-link-item:hover::after { opacity: 1; }

/* Kategori ikonu (img) */
.fp-navbar-link-img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Kategori ikonu (icon font) */
.fp-navbar-link-icon {
    font-size: 22px;
    flex-shrink: 0;
    opacity: .9;
}

/* Özel renkli linkler (Elan Bazarı, Püşkatmalar) */
.fp-navbar-link-special {
    color: var(--link-color, #06b6d4) !important;
}
.fp-navbar-link-special .fp-navbar-link-icon {
    color: var(--link-color, #06b6d4);
}
.fp-navbar-link-special:hover {
    color: var(--link-color, #06b6d4) !important;
}

/* Kategoriler mega menu dropdown pozisyon düzeltmesi (yeni yapı) */
.fp-navbar-categories-dropdown {
    position: relative;
    flex-shrink: 0;
}

.fp-navbar-categories-dropdown .fp-categories-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    max-width: 400px;
    z-index: 9999;
    display: none;
}

.fp-navbar-categories-dropdown:hover .fp-categories-mega-menu,
.fp-navbar-categories-dropdown .fp-categories-btn.active + .fp-categories-mega-menu {
    display: block;
}

/* Light theme overrides */
[data-theme="light"] .fp-navbar {
    background: #f0f2f8;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
[data-theme="light"] .fp-navbar-link-item {
    color: rgba(15,22,35,.8) !important;
}
[data-theme="light"] .fp-navbar-link-item:hover {
    color: #0f1623 !important;
    background: rgba(0,0,0,.05);
}

