.assets-container {
    min-height: 100vh;
    background-color: var(--bs-dark);
    color: white;
    padding-top: 100px;
    padding-bottom: 50px;
}

.assets-header {
    margin-bottom: 3rem;
}

.assets-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.search-upload-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    color: white;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
}

.upload-btn {
    background-color: var(--bs-primary);
    color: var(--bs-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.upload-btn:hover {
    background-color: #d1ff92;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(193, 255, 114, 0.3);
    color: var(--bs-dark);
}

/* Tabs Styling */
.assets-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0px;
}

.tab-item {
    padding: 0.75rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item:hover {
    opacity: 1;
}

.tab-item.active {
    opacity: 1;
    color: var(--bs-primary);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bs-primary);
}

/* Grid Layout */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Asset Card Styling (Consistent with Welcome Card) */
.asset-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.asset-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: #C1FF72;
    box-shadow: 0 20px 40px rgba(193, 255, 114, 0.1);
}

.asset-preview {
    height: 70%;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.asset-preview img,
.asset-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.asset-card:hover .asset-preview img {
    transform: scale(1.05);
}

.asset-actions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.asset-card:hover .asset-actions-overlay {
    opacity: 1;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    font-size: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn:hover {
    transform: scale(1.1);
    background: var(--bs-primary);
    color: var(--bs-dark);
}

.action-btn.delete:hover {
    background: #FF4B4B;
    color: white;
}

.asset-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.asset-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-meta {
    font-size: 0.85rem;
    opacity: 0.6;
}

.type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    min-height: 50vh;
    opacity: 0.6;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.empty-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-hint {
    color: rgba(255, 255, 255, 0.5);
}

/* Progress Bar Styling */
.upload-progress-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: #1F2A2E;
    border: 1px solid rgba(193, 255, 114, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.progress-percent {
    color: var(--bs-primary);
    font-weight: 800;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
}

.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--bs-primary);
    width: 0%;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px rgba(193, 255, 114, 0.5);
}

.asset-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asset Viewer Modal */
.asset-viewer-modal .modal-content {
    background: rgba(15, 20, 22, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.asset-viewer-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.viewer-image-container {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.viewer-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}