/* ======================= ALL COLLECTIONS SECTION ======================= */

.all-collections-section {
    padding: 80px 20px;
    background-color: #f6ebcc;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    /* pointer-events removed to allow clicking on product links */
}

.collections-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Section */
.collections-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.collections-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Scrollable Wrapper with Arrows */
.collections-wrapper {
    position: relative;
    margin: 0 auto;
}

/* Scroll Arrows */
.collections-scroll-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
    border: 2px solid var(--color-border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.collections-scroll-arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.collections-scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.collections-scroll-prev {
    left: -20px;
}

.collections-scroll-next {
    right: -20px;
}

/* Horizontal Scroll Container */
.collections-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    padding: 20px 5px 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.collections-scroll-container::-webkit-scrollbar {
    display: none;
}

.collections-scroll-container:active {
    cursor: grabbing;
}

/* Collection Card */
.collection-card {
    flex: 0 0 280px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* Collection Image */
.collection-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--color-light);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.collection-card:hover .collection-image img {
    transform: scale(1.08);
}

/* Collection Info */
.collection-info {
    padding: 20px;
    background: var(--color-white);
    text-align: center;
}

.collection-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.collection-count {
    font-size: 14px;
    color: var(--color-text);
    margin: 0;
    opacity: 0.8;
}

/* ======================= RESPONSIVE STYLES ======================= */

@media (max-width: 1024px) {
    .collections-scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .collections-scroll-prev {
        left: -15px;
    }

    .collections-scroll-next {
        right: -15px;
    }

    .collection-card {
        flex: 0 0 250px;
    }

    .collection-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .all-collections-section {
        padding: 60px 15px;
    }

    .collections-title {
        font-size: 28px;
    }

    .collections-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .collections-subtitle br {
        display: none;
    }

    .collections-scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .collections-scroll-prev {
        left: 0;
    }

    .collections-scroll-next {
        right: 0;
    }

    .collections-scroll-container {
        gap: 20px;
    }

    .collection-card {
        flex: 0 0 220px;
    }

    .collection-image {
        height: 320px;
    }

    .collection-info {
        padding: 15px;
    }

    .collection-name {
        font-size: 16px;
    }

    .collection-count {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .all-collections-section {
        padding: 40px 10px;
    }

    .collections-title {
        font-size: 24px;
    }

    .collections-subtitle {
        font-size: 13px;
    }

    .collections-scroll-container {
        gap: 15px;
    }

    .collection-card {
        flex: 0 0 200px;
    }

    .collection-image {
        height: 300px;
    }

    .collection-name {
        font-size: 15px;
    }
}

/* ======================= RESPONSIVE IMAGE BANNER SECTION ======================= */

.image-banner-section {
    width: 100%;
    margin: 5px 0;
    overflow: hidden;
}

.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.banner-link:hover {
    opacity: 0.95;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-link:hover .banner-image {
    transform: scale(1.02);
}

/* Desktop - Landscape with controlled height */
@media (min-width: 769px) {
    /* .image-banner-section {
        max-height: 400px;
    } */

    .banner-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 2.7 / 1;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .image-banner-section {
        max-height: 350px;
    }

    .banner-image {
        height: 350px;
    }
}

/* Mobile - Portrait full width */
@media (max-width: 768px) {
    .image-banner-section {
        margin: 30px 0;
    }

    .banner-image {
        width: 100%;
        height: auto;
        min-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .image-banner-section {
        margin: 20px 0;
    }

    .banner-image {
        min-height: 350px;
    }
}

/* ======================= CATEGORY PAGE CSS ======================= */

.shop-catalog {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Control Bar */
.shop-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 25px;
    gap: 15px;
    width: 100%;
}

.shop-controls-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shop-filter-btn {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.shop-filter-btn:hover {
    background: #f9f9f9;
    border-color: #333;
}

.shop-filter-btn i {
    font-size: 14px;
}

.shop-sale-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.shop-controls-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shop-view-modes {
    display: flex;
    gap: 5px;
}

.view-mode-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}

.view-mode-btn:hover,
.view-mode-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.shop-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.shop-sort-dropdown label {
    font-size: 14px;
    color: #666;
    display: inline-block;
}

.shop-sort-dropdown select {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    min-width: 150px;
}

/* Products Grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.shop-product-card {
    border-radius: 0;
    transition: transform 0.2s;
}

.shop-product-card:hover {
    transform: translateY(-3px);
}

.shop-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: #f5f5f5;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 8px;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #e74c3c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    z-index: 3;
}

.shop-wishlist-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: scale(1.1);
}

.shop-wishlist-btn.active {
    background: #e74c3c;
    color: #fff;
}

.shop-wishlist-btn.active i {
    font-weight: 900;
}

.shop-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.shop-sale-labels {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
}

.shop-hot-label {
    background: #222;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
}

.shop-countdown-timer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #e74c3c;
    z-index: 2;
}

.shop-product-info {
    padding: 0 5px;
}

.shop-product-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.shop-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.shop-product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.shop-old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.shop-sale-price {
    font-size: 16px;
    font-weight: 600;
    color: #e74c3c;
}

.shop-color-swatches {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* Pagination */
.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.shop-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-page-btn:hover,
.shop-page-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* ======================= FILTER SIDEBAR ======================= */

body.filter-open {
    overflow: hidden;
}

.filter-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.filter-sidebar.active {
    left: 0;
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.filter-sidebar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.filter-sidebar-content {
    padding: 0;
    height: auto;
    padding-bottom: 100px;
}

.filter-group {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
}

.filter-group label input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-group label .count {
    margin-left: auto;
    color: #999;
    font-size: 13px;
}

.filter-group label.selected {
    color: #e74c3c;
    font-weight: 500;
}

/* ======================= PRICE RANGE SLIDER ======================= */

:root {
    --slider-primary: #3b82f6;
    --slider-primary-light: rgba(59, 130, 246, 0.3);
    --slider-track-gray: #e5e7eb;
    --thumb-width: 28px;
    --thumb-height: 16px;
    --track-height: 4px;
}

.price-range-wrapper {
    user-select: none;
}

/* Slider Container - matches thumb height for perfect centering */
.price-range-slider {
    position: relative;
    height: var(--thumb-height);
    margin: 20px 0 25px 0;
}

/* Track Background (Gray) */
.price-range-slider .track-bg {
    position: absolute;
    width: 100%;
    height: var(--track-height);
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--slider-track-gray);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

/* Active Price Track (Blue) */
.price-track {
    position: absolute;
    height: var(--track-height);
    top: 50%;
    transform: translateY(-50%);
    background: var(--slider-primary);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

/* Range Input Base Styles */
.price-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    z-index: 3;
    margin: 0;
    top: 0;
}

/* ===== WEBKIT (Chrome, Safari, Edge) ===== */
.price-slider::-webkit-slider-runnable-track {
    height: var(--thumb-height);
    background: none;
    border: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: var(--thumb-width);
    height: var(--thumb-height);
    border-radius: 99px;
    background-color: #fff;
    border: 2px solid var(--slider-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: grab;
    margin-top: 0;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.05);
    background-color: #fcfcfc;
}

.price-slider:active::-webkit-slider-thumb {
    cursor: grabbing;
    box-shadow: 0 0 0 6px var(--slider-primary-light);
}

/* ===== FIREFOX ===== */
.price-slider::-moz-range-track {
    height: var(--thumb-height);
    background: none;
    border: none;
}

.price-slider::-moz-range-thumb {
    pointer-events: auto;
    width: var(--thumb-width);
    height: var(--thumb-height);
    border-radius: 99px;
    background-color: #fff;
    border: 2px solid var(--slider-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-sizing: border-box;
}

.price-slider:active::-moz-range-thumb {
    cursor: grabbing;
    box-shadow: 0 0 0 6px var(--slider-primary-light);
}

/* ===== PRICE INPUTS ROW ===== */
.price-inputs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.price-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 10px;
    flex: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.price-input-group:focus-within {
    border-color: var(--slider-primary);
    box-shadow: 0 0 0 3px var(--slider-primary-light);
}

.price-input-group .currency-symbol {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-right: 4px;
    position: relative;
}

.price-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    outline: none;
    padding: 0;
}

.price-input-group input::-webkit-outer-spin-button,
.price-input-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input-group input[type=number] {
    -moz-appearance: textfield;
}

.separator {
    color: #d1d5db;
    font-size: 14px;
}

/* Size Buttons */
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Color Options */
.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

.color-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
}

.color-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.color-name {
    font-size: 13px;
    color: #666;
}

.filter-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.filter-sidebar-overlay.active {
    display: block;
}

/* ======================= FILTER ACTIONS ======================= */

.filter-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.filter-actions .btn {
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.filter-actions .btn-primary {
    flex: 0 0 70%;
    background: #0c2988;
    color: #fff;
}

.filter-actions .btn-primary:hover {
    background: #000;
}

.filter-actions .btn-link {
    flex: 0 0 calc(30% - 10px);
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.filter-actions .btn-link:hover {
    background: #f5f5f5;
    color: #333;
}

/* ======================= USER TOP BAR ======================= */

.user-top-bar {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-heading {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    height: 8px;
    width: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.bar-nav {
    display: flex;
    gap: 15px;
}

.bar-link {
    text-decoration: none;
    color: #ecf0f1;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.bar-link:hover {
    background-color: #34495e;
}

.bar-link.active {
    background-color: #3498db;
    font-weight: bold;
}

/* ======================= RESPONSIVE STYLES ======================= */

@media (max-width: 1200px) {
    .shop-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-control-bar {
        padding: 12px 0;
        gap: 10px;
    }

    .shop-filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .shop-sort-dropdown {
        gap: 6px;
        font-size: 13px;
    }

    .shop-sort-dropdown label {
        font-size: 13px;
    }

    .shop-sort-dropdown select {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 130px;
    }

    .shop-controls-right {
        justify-content: space-between;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .filter-sidebar {
        width: 280px;
        left: -300px;
    }

    .filter-sidebar-content {
        padding-bottom: 120px;
    }

    .filter-actions {
        padding: 15px;
        gap: 8px;
    }

    .filter-actions .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .filter-actions .btn-link {
        flex: 0 0 calc(30% - 8px);
    }

    .user-top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }

    .bar-nav {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }

    .bar-link {
        font-size: 13px;
        padding: 8px 12px;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .shop-catalog {
        padding: 15px 10px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .filter-sidebar-content {
        padding-bottom: 140px;
    }
}


/* Attribute Display Styles */
.shop-size-options {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.size-badge {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #666;
    background: #f9f9f9;
    font-weight: 500;
}

.more-colors,
.more-sizes {
    font-size: 11px;
    color: #999;
    padding: 3px 6px;
    font-weight: 500;
}

.more-colors {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

/* Optional: Other Attributes Display */
.shop-attribute-list {
    display: flex;
    gap: 5px;
    margin-top: 6px;
    font-size: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-attribute-list strong {
    color: #666;
    font-size: 11px;
}

.attribute-tag {
    font-size: 11px;
    padding: 2px 6px;
    background: #f0f0f0;
    border-radius: 3px;
    color: #555;
}

/* Profile css */
/* Topbar base */
.prf-topbar {
    /* background-color: #f9fafb; */
}

/* Heading */
.prf-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
}

.prf-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Tabs */
.prf-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-radius: 0;
    /* flat tabs */
    border: none;
    background: transparent;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.prf-tab-icon {
    font-size: 1rem;
}

/* bottom border highlight like screenshot */
.prf-tab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #4f46e5;
    /* indigo */
    transition: width 0.2s ease;
}

.prf-tab:hover {
    color: #111827;
    background-color: #f3f4f6;
}

.prf-tab-active {
    color: #4f46e5;
}

.prf-tab-active::after {
    width: 100%;
}

/* Hide scrollbar but allow horizontal scroll */
.prf-no-scrollbar::-webkit-scrollbar {
    display: none;
}

.prf-no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Logout button: no shadow, no hover background/underline */
.prf-signout-btn {
    box-shadow: none !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.prf-signout-btn:hover,
.prf-signout-btn:focus,
.prf-signout-btn:active {
    box-shadow: none !important;
    background-color: transparent !important;
    text-decoration: none !important;
    color: #dc3545 !important;
    /* keep same red color on hover */
}

/* Responsive tweaks */
@media (max-width: 575.98px) {
    .prf-title {
        font-size: 1.4rem;
    }

    .prf-subtitle {
        font-size: 0.8rem;
    }

    .prf-tab {
        padding-inline: 10px;
        font-size: 0.85rem;
    }
}