* {
    box-sizing: border-box;
}

:root {
    --bg-base: #0a0a0a;
    --bg-highlight: #141414;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --bg-player: #000000;
    --text-base: #ffffff;
    --text-subdued: #888888;
    --accent: #ff0000;
    /* Global Red */
    --accent-hover: #cc0000;
    --border-subdued: #222222;
    --nav-height: 80px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-base);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Top Navigation */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-subdued);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.top-nav .nav-link {
    color: var(--text-subdued);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.top-nav .nav-link:hover {
    color: var(--accent);
}

.top-nav .nav-link.active {
    color: var(--text-base);
}

.top-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.search-bar-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    width: 400px;
    max-width: 400px;
    transition: border-color 0.2s;
}

.search-bar-container:focus-within {
    border-color: var(--accent);
}

.search-bar-container input,
.search-bar-container form {
    border: none;
    background: transparent;
    outline: none;
    padding: 0 12px;
    flex: 1;
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.search-bar-container input::placeholder {
    color: #666;
}

.search-bar-container i {
    color: #888;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.profile-btn:hover {
    color: var(--accent);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
}

.profile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #282828;
    color: var(--accent);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.btn-register {
    background-color: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 4px;
    /* Sharper corners for modern style */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.btn-register:hover {
    background-color: var(--accent-hover);
}

.user-pill {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Main Content */
.main-view {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: calc(var(--nav-height) + 20px);
}

.content-padding {
    padding: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 32px 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    border-left: 4px solid var(--accent);
    padding-left: 16px;
}

/* Filters */
.filter-scroll {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.filter-chip {
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--text-subdued);
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Advanced Filter Section */
.filter-section {
    background: #141414;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    align-items: end;
}

.filter-input-group label {
    color: #888;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.filter-input {
    width: 100%;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    transition: border-color 0.2s;
}

.filter-input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.btn-filter-apply {
    flex: 1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-filter-apply:hover {
    background: var(--accent-hover);
}

.btn-filter-reset {
    flex: 1;
    background: #333;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-filter-reset:hover {
    background: #444;
}

/* Beat Grid */
.beats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.beat-card {
    background-color: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beat-card:hover {
    background-color: var(--bg-card-hover);
    border-color: #333;
    transform: translateY(-4px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.beat-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 20px;
    padding-left: 4px;
    /* Align triangle */
}

.beat-card:hover .play-button-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-button-overlay:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-weight: 700;
    font-size: 16px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-subdued);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 12px;
    margin-top: auto;
}

.card-genre {
    margin: 8px 0;
}

.price-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

/* Beat Action Buttons */
.beat-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #222;
}

.like-btn,
.cart-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.like-btn:hover,
.cart-btn:hover {
    background: #282828;
    border-color: var(--accent);
    color: var(--accent);
}

.like-btn.liked {
    color: var(--accent);
    border-color: var(--accent);
}

.buy-btn {
    background: var(--accent);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
    font-size: 13px;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.buy-btn i {
    margin-right: 4px;
}

/* Player Bar */
.player-bar {
    height: 90px;
    background-color: var(--bg-player);
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 2000;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.current-track-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.current-track-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    /* Prevent shrinking */
    background: #111;
}

.current-track-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-left,
.player-right {
    width: 30%;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.player-right {
    justify-content: flex-end;
}

.player-center {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 600px;
    /* Prevent it from getting too wide */
}

.progress-bar-area {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #888;
}

.player-controls-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.track-title {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.track-artist {
    color: var(--text-subdued);
    font-size: 12px;
}

.player-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 8px;
}

.player-btn:hover {
    color: white;
}

.player-btn.play-circle {
    font-size: 36px;
    color: white;
    margin: 0 16px;
}

.player-btn.play-circle:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Progress Slider */
.progress-slider {
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    margin-top: -4px;
    /* Center thumb */
}

.progress-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: #333;
    border-radius: 2px;
}



/* Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-input {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    margin-bottom: 20px;
    font-size: 15px;
}

.auth-input:focus {
    border-color: var(--accent);
    outline: none;
}

.primary-btn {
    background-color: var(--accent);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.2s;
}

.primary-btn:hover {
    background-color: var(--accent-hover);
}

@media (max-width: 768px) {
    .beats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-bar {
        padding: 0 20px;
    }

    .search-bar-container {
        display: none;
    }

    /* Hide search on mobile for now */
    .content-padding {
        padding: 20px;
    }

    /* Fixed Player Mobile */
    .player-bar {
        padding: 0 15px;
        height: 120px;
        flex-wrap: wrap;
    }

    .player-left {
        width: 60%;
        order: 1;
    }

    .player-right {
        width: 40%;
        order: 2;
        justify-content: flex-end;
    }

    .player-center {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }

    .progress-bar-area {
        gap: 8px;
    }
}

/* Premium Auth Styles */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--nav-height) - 90px);
    /* Adjust for nav and player */
    padding: 40px 20px;
}

.auth-card {
    background: #121212;
    border: 1px solid #282828;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.auth-input {
    background: #2a2a2a;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 14px 16px;
    color: white;
    font-size: 16px;
    transition: all 0.2s;
    width: 100%;
}

.auth-input:focus {
    background: #333;
    border-color: #555;
    outline: none;
}

.auth-input::placeholder {
    color: #888;
}

.auth-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 500px;
    /* Pill shape */
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    width: 100%;
}

.auth-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.auth-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.auth-divider {
    height: 1px;
    background: #282828;
    width: 100%;
    margin: 16px 0;
}


.auth-footer {
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Drum Kit Specific Styles */
.drumkit-image-wrapper img {
    object-fit: contain !important;
    width: 85% !important;
    height: 85% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.beat-card:hover .drumkit-image-wrapper img {
    transform: translate(-50%, -50%) scale(1.05) !important;
}


/* Profile Styles */
.profile-header-area {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-nav-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border-subdued);
    margin-bottom: 32px;
    padding-bottom: 2px;
}

.profile-tab-btn {
    background: none;
    border: none;
    color: var(--text-subdued);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.profile-tab-btn:hover {
    color: white;
}

.profile-tab-btn.active {
    color: white;
}

.profile-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    /* Overlap border */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px 2px 0 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control-dark {
    width: 100%;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid transparent;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    transition: border 0.2s;
    display: block;
    /* Ensure block */
}

.form-control-dark:focus {
    border-color: var(--accent);
    outline: none;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-subdued);
    font-size: 13px;
    font-weight: 600;
}

.btn-secondary {
    background: #333;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #444;
}

/* Dashboard / Cabinet Layout */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - var(--nav-height) - 60px);
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 40px;
}

.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #141414;
    border-right: 1px solid #222;
    padding: 30px 0;
    border-radius: 8px;
    /* Optional rounded */
    height: fit-content;
}

.dashboard-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #888;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.dashboard-menu-item:hover {
    background: #1a1a1a;
    color: white;
}

.dashboard-menu-item.active {
    background: #1a1a1a;
    color: white;
    border-left-color: var(--accent);
}

.dashboard-content {
    flex-grow: 1;
    min-width: 0;
    background: #141414;
    /* Card background for content */
    border-radius: 8px;
    padding: 30px;
}

.cabinet-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

/* Form Styles for Cabinet */
.cabinet-form-group {
    margin-bottom: 20px;
}

.cabinet-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.cabinet-input {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    transition: border-color 0.2s;
}

.cabinet-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Specific Stats Grid for Cabinet */
.cabinet-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cabinet-stat-card {
    background: #1a1a1a;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #222;
}

.cabinet-stat-value {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.profile-tab-btn:hover {
    color: white;
}

.profile-tab-btn.active {
    color: white;
}

.profile-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    /* Overlap border */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px 2px 0 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control-dark {
    width: 100%;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid transparent;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    transition: border 0.2s;
    display: block;
    /* Ensure block */
}

.form-control-dark:focus {
    border-color: var(--accent);
    outline: none;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-subdued);
    font-size: 13px;
    font-weight: 600;
}

.btn-secondary {
    background: #333;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #444;
}

/* Dashboard / Cabinet Layout */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - var(--nav-height) - 60px);
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 40px;
}

.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #141414;
    border-right: 1px solid #222;
    padding: 30px 0;
    border-radius: 8px;
    /* Optional rounded */
    height: fit-content;
}

.dashboard-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #888;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.dashboard-menu-item:hover {
    background: #1a1a1a;
    color: white;
}

.dashboard-menu-item.active {
    background: #1a1a1a;
    color: white;
    border-left-color: var(--accent);
}

.dashboard-content {
    flex-grow: 1;
    min-width: 0;
    background: #141414;
    /* Card background for content */
    border-radius: 8px;
    padding: 30px;
}

.cabinet-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

/* Form Styles for Cabinet */
.cabinet-form-group {
    margin-bottom: 20px;
}

.cabinet-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.cabinet-input {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    transition: border-color 0.2s;
}

.cabinet-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Specific Stats Grid for Cabinet */
.cabinet-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cabinet-stat-card {
    background: #1a1a1a;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #222;
}

.cabinet-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.cabinet-stat-label {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
}

/* Avatar Upload Extended */
.profile-avatar-container {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #333;
    border-radius: 50%;
    transition: filter 0.2s;
}

.profile-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 50%;
}

.profile-avatar-container:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-container:hover .profile-avatar-large {
    filter: blur(2px);
}

/* Icon Buttons for Upload */
.btn-icon-only {
    background: #1a1a1a;
    color: #888;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 16px;
}

.btn-icon-only:hover {
    background: #2a2a2a;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Purchase Tabs */
.purchase-tab-btn {
    background: transparent;
    color: #888;
    border: 1px solid #333;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.purchase-tab-btn:hover {
    border-color: #666;
    color: white;
}

.purchase-tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}