/* 🔥 ПОЛНЫЙ CSS ДЛЯ BOOKMARK КНОПКИ В thumb-tall */
.bookmark-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background: rgba(255, 255, 255, 0) !important;
    border: 1px solid #eeeeee00 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 30 !important;
}

.bookmark-btn i {
    font-size: 1.5rem !important;
}

.thumb-tall {
    overflow: visible !important;
}

.bookmark-btn:hover {
    transform: scale(1.1) !important;
}

.bookmark-btn:active {
    transform: scale(0.95) !important;
}


.ph-heart-straight {
    display: block !important;
}

@media (max-width: 768px) {
    .bookmark-btn {
        width: 40px !important;
        height: 40px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    .bookmark-btn i {
        font-size: 1.5rem !important;
    }
}

/* ====================== PROFILE TABS STYLING ====================== */
/* .profile-wrapper .singleFilter {
    display: flex;
    justify-content: center;
    width: 100%;
}

.profile-wrapper .singleFilter .filter-list {
    background: rgba(var(--n1), 1);
    border-radius: 50px;
    padding: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
}

.profile-wrapper .singleFilter .filter-item {
    list-style: none;
    cursor: pointer;
    flex: 1 1 auto; 
    min-width: 90px; 
    transition: all 0.3s ease;
}

.profile-wrapper .singleFilter .filter-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(var(--f7), 1);
    border: 1px solid rgba(var(--b-second), 1);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    width: 100%;
    text-align: center;
}

.profile-wrapper .singleFilter .filter-links span {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.profile-wrapper .singleFilter .filter-links:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.profile-wrapper .singleFilter .filter-item.active .filter-links,
.profile-wrapper .singleFilter .filter-links.active {
    background: #000000 !important;
    border-color: #000000 !important;
}

.profile-wrapper .singleFilter .filter-item.active .filter-links span,
.profile-wrapper .singleFilter .filter-links.active span {
    color: #ffcc33 !important;
    font-weight: 600 !important;
}

.profile-wrapper .singleFilter .filter-item.active .filter-links i,
.profile-wrapper .singleFilter .filter-links.active i {
    color: #ffcc33 !important;
}

.profile-wrapper .singleFilter .filter-item.active .filter-links:hover,
.profile-wrapper .singleFilter .filter-links.active:hover {
    background: rgba(0, 0, 0, 0.9) !important;
}

.profile-wrapper .singleFilter .filter-item.active .filter-links:hover span,
.profile-wrapper .singleFilter .filter-links.active:hover span {
    color: #ffcc33 !important;
}

.profile-wrapper .singleFilter .filter-item.active .filter-links:hover i,
.profile-wrapper .singleFilter .filter-links.active:hover i {
    color: #ffcc33 !important;
} */

/* Profile Tabs Styles */
/* Profile Tabs Styles */
.profile-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow: hidden;
    list-style: none;
    margin: 0;
}

.profile-tab-item {
    flex: 0 1 auto;
    min-width: 0;
    cursor: pointer;
}

.profile-tab-btn {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    width: fit-content;
}

.profile-tab-btn.tab-active {
    background-color: #FFCC33;
}

.profile-tab-btn.tab-active * {
    color: #000000;
}

.profile-tab-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.profile-tab-text {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

/* АНИМАЦИЯ ПОЯВЛЕНИЯ КОНТЕНТА - ТОЧНО КАК У FILTER ITEMS! */
#profileContent {
    position: relative;
}

.profile-tab-content {
    position: absolute;
    z-index: -1;
    top: 0;
    opacity: 0;
    transition: 0.8s all;
    transform: scale(0.001);
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-delay: 0ms;
}

.profile-tab-content.tab-content-active {
    position: initial;
    z-index: 1;
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}

/* Для контейнера с border */
.profile-tabs-wrapper {
    display: flex;
    justify-content: center;
}

.profile-tabs-wrapper > .n1-bg-color {
    width: fit-content;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-tabs-nav {
        gap: 0.375rem;
        padding: 0.375rem;
    }
    
    .profile-tab-btn {
        padding: 0.375rem 0.75rem;
        gap: 0.375rem;
    }
    
    .profile-tab-icon {
        font-size: 0.9rem;
    }
    
    .profile-tab-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .profile-tabs-wrapper {
        display: block;
    }
    
    .profile-tabs-wrapper > .n1-bg-color {
        width: 100%;
    }
    
    .profile-tabs-nav {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .profile-tab-item {
        flex: 1 1 auto;
        max-width: 25%;
    }
    
    .profile-tab-btn {
        padding: 0.3rem 0.5rem;
        gap: 0.25rem;
        width: 100%;
    }
    
    .profile-tab-icon {
        font-size: 0.85rem;
    }
    
    .profile-tab-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .profile-tabs-nav {
        gap: 0.2rem;
        padding: 0.2rem;
    }
    
    .profile-tab-btn {
        padding: 0.25rem 0.4rem;
        gap: 0.2rem;
    }
    
    .profile-tab-icon {
        font-size: 0.75rem;
    }
    
    .profile-tab-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .profile-tabs-nav {
        gap: 0.15rem;
        padding: 0.15rem;
    }
    
    .profile-tab-btn {
        padding: 0.25rem 0.3rem;
        gap: 0.15rem;
    }
    
    .profile-tab-icon {
        font-size: 0.7rem;
    }
    
    .profile-tab-text {
        font-size: 0.6rem;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 340px) {
    .profile-tabs-nav {
        gap: 0.1rem;
        padding: 0.1rem;
    }
    
    .profile-tab-btn {
        padding: 0.2rem 0.25rem;
        gap: 0.1rem;
    }
    
    .profile-tab-icon {
        font-size: 0.65rem;
    }
    
    .profile-tab-text {
        font-size: 0.55rem;
    }
}

/* ====================== SETTINGS NAVIGATION ====================== */
.settings-nav {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.settings-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.settings-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--n15-color, #666);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
}

.settings-link i {
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.settings-link:hover {
    background: rgba(0,0,0,0.05);
    color: var(--n17-color, #000);
    transform: translateX(4px);
}

.settings-nav .settings-link.active,
.settings-menu .settings-link.active {
    background: #000 !important;
    color: #ffcc33 !important;
    font-weight: 600 !important; 
}

.settings-nav .settings-link.active span,
.settings-menu .settings-link.active span {
    color: #ffcc33 !important;
}

.settings-nav .settings-link.active i,
.settings-menu .settings-link.active i {
    color: #ffcc33 !important;
}

.settings-link.active:hover,
.settings-nav .settings-link.active:hover,
.settings-menu .settings-link.active:hover {
    background: rgba(0,0,0,0.9) !important;
    color: #ffcc33 !important;
}

.settings-link.active:hover span,
.settings-nav .settings-link.active:hover span,
.settings-menu .settings-link.active:hover span {
    color: #ffcc33 !important;
}

.settings-link.active:hover i,
.settings-nav .settings-link.active:hover i,
.settings-menu .settings-link.active:hover i {
    color: #ffcc33 !important;
}

/* ====================== SETTINGS SECTIONS ====================== */
.settings-section {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ====================== BOOKMARKS & HISTORY ITEMS ====================== */
.bookmark-item,
.history-item {
    transition: all 0.3s ease;
}

/* Hover карточки + текст внутри */
.bookmark-item:hover,
.history-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* При наведении на карточку меняем цвет всех ссылок внутри на желтый */
.bookmark-item:hover a,
.history-item:hover a {
    color: #ffcc33 !important;
}

/* Только удалённые / неактивные элементы остаются серыми */
.bookmark-item span.deleted-item,
.history-item span.deleted-item {
    color: #777;
}

/* Кнопки удаления */
.remove-bookmark,
.remove-history {
    transition: all 0.2s ease;
}

.remove-bookmark:hover,
.remove-history:hover {
    transform: scale(1.1);
}


/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .profile-wrapper .singleFilter .filter-list {
        gap: 4px;
        padding: 6px;
    }

    .profile-wrapper .singleFilter .filter-item {
        min-width: 70px;
    }

    .profile-wrapper .singleFilter .filter-links {
        padding: 6px 10px;
        font-size: 13px;
        gap: 4px;
    }

    .profile-wrapper .singleFilter .filter-links span.fs-six {
        font-size: 12px;
    }
    
    .profile-wrapper .filterItems {
        min-height: 300px;
    }
}

@media (max-width: 991px) {
    .settings-nav {
        position: static !important;
        margin-bottom: 1.5rem;
        top: auto !important;
    }
}

/* ====================== AVATAR PREVIEW ====================== */
.avatar-upload-wrapper {
    position: relative;
}

.avatar-upload-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.avatar-overlay i {
    color: white;
    font-size: 24px;
}

/* ====================== FORM IMPROVEMENTS ====================== */
.form-control:focus {
    border-color: #ffcc33;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

.btn-dark {
    background-color: #000;
    border-color: #000;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #ffcc33;
    border-color: #ffcc33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline-dark:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
}

/* ====================== LOADING STATE ====================== */
.profile-wrapper .filterItems.loading > div {
    pointer-events: none;
}

.profile-wrapper .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.profile-wrapper .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffcc33;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====================== EMPTY STATES ====================== */
.empty-state {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ====================== UTILITY CLASSES ====================== */
.transition {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.smooth-scroll {
    scroll-behavior: smooth;
}
