/* Notification Tabs */
.notification-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Light mode için */
body:not(.dark-mode) .notification-tabs {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

/* Dark mode için */
body.dark-mode .notification-tabs {
    background: #161129;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-nav {
    display: flex;
    padding: 16px 20px 0 20px;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

/* Sekme altındaki çizgi için container */
.tab-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    min-width: fit-content;
    border-bottom: 3px solid transparent;
}

/* Light mode için tab stilleri */
body:not(.dark-mode) .tab-btn {
    color: #6c757d;
}

body:not(.dark-mode) .tab-btn:hover {
    background: rgba(108, 117, 125, 0.05);
    color: #495057;
    border-bottom-color: rgba(108, 117, 125, 0.2);
}

body:not(.dark-mode) .tab-btn.active {
    background: transparent;
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 600;
}

/* Dark mode için tab stilleri */
body.dark-mode .tab-btn {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .tab-btn.active {
    background: transparent;
    color: #6236ff;
    border-bottom-color: #6236ff;
    font-weight: 600;
}

.tab-btn ion-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.tab-btn .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

/* Light mode badge stilleri */
body:not(.dark-mode) .tab-btn .badge {
    background: #e9ecef;
    color: #6c757d;
}

body:not(.dark-mode) .tab-btn.active .badge {
    background: #0d6efd;
    color: white;
}

/* Dark mode badge stilleri */
body.dark-mode .tab-btn .badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .tab-btn.active .badge {
    background: #6236ff;
    color: #161129;
}

/* Bildirim listesi ile sekme arası çizgi */
.notification-tabs + .section {
    border-top: 1px solid transparent;
    margin-top: 0;
}

body:not(.dark-mode) .notification-tabs + .section {
    border-top-color: #e9ecef;
}

body.dark-mode .notification-tabs + .section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Coin logo stilleri */
.imageWrapper {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imageWrapper .imaged {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.imageWrapper .icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Dark mode için coin logo border */
body.dark-mode .imageWrapper .imaged {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Notification item düzenlemeleri */
.notification-item .imageWrapper,
.notification-item .icon-box {
    margin-right: 16px;
    flex-shrink: 0;
}

/* Responsive tasarım */
@media (max-width: 576px) {
    .tab-nav {
        padding: 12px 16px 0 16px;
        gap: 2px;
    }

    .tab-btn {
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .tab-btn ion-icon {
        font-size: 16px;
    }

    .tab-btn span:not(.badge) {
        display: none;
    }

    .tab-btn .badge {
        margin-left: 2px;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .imageWrapper .imaged {
        width: 28px !important;
        height: 28px !important;
    }

    .imageWrapper .icon-box {
        width: 36px;
        height: 36px;
    }
}

/* Tablet için orta çözünürlük */
@media (max-width: 768px) and (min-width: 577px) {
    .tab-nav {
        padding: 14px 18px 0 18px;
    }

    .tab-btn {
        padding: 11px 14px;
        font-size: 13px;
    }

    .tab-btn span:not(.badge) {
        font-size: 13px;
    }
}

/* Purple background class */
.bg-purple {
    background-color: #6f42c1 !important;
}
