/* ================================
   Modern Playlist Styles
   ================================ */

/* Hero Section */
.playlist-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 53, 101, 0.1) 0%, rgba(45, 52, 54, 0.3) 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    gap: 20px;
}

.playlist-hero__content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.playlist-hero__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff3535 0%, #ff6b95 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #fff; */
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 53, 101, 0.3);
}

.playlist-hero__text {
    flex: 1;
}

.playlist-hero__title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 8px 0;
    /* color: #fff; */
    line-height: 1.2;
}

.playlist-hero__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.playlist-hero__btn {
    padding: 14px 32px;
    background: #ff3535;
    /* color: #fff; */
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.playlist-hero__btn:hover {
    background: #ff1e4f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 53, 101, 0.4);
}

.playlist-hero__btn svg {
    fill: currentColor;
}

/* Playlist Cards */
.playlist-card {
    background: #1b1b1bc5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.playlist-card:hover {
    background: #222531;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.playlist-card__cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #2d3436 0%, #1a1d29 100%);
}

.playlist-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-card:hover .playlist-card__cover img {
    transform: scale(1.05);
}

.playlist-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card:hover .playlist-card__overlay {
    opacity: 1;
}

.playlist-card__play {
    width: 56px;
    height: 56px;
    background: #ff3535;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 53, 101, 0.4);
}

.playlist-card__play:hover {
    background: #ff1e4f;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 53, 101, 0.6);
}

.playlist-card__actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card:hover .playlist-card__actions {
    opacity: 1;
}

.playlist-card__action {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.playlist-card__action:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.playlist-card__action--danger:hover {
    background: #ff3535;
    border-color: #ff3535;
}

.playlist-card__action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.playlist-card__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.playlist-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.playlist-card__title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.playlist-card__title a:hover {
    color: #ff3535;
}

.playlist-card__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-card__badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(248, 248, 248, 1);
    color: #ff3535;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Shared Playlist */
.playlist-card--shared .playlist-card__cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b8d4 0%, #0097a7 100%);
    z-index: 1;
}

.playlist-card__shared-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(0, 184, 212, 0.9);
    backdrop-filter: blur(10px);
    /* color: #fff; */
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.playlist-card__shared-badge svg {
    fill: currentColor;
}

/* Empty State */
.playlist-empty {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.playlist-empty__icon {
    margin-bottom: 24px;
    opacity: 0.3;
}

.playlist-empty__icon svg {
    fill: currentColor;
    color: #ff3535;
}

.playlist-empty__title {
    font-size: 24px;
    font-weight: 700;
    /* color: #fff; */
    margin: 0 0 8px 0;
}

.playlist-empty__text {
    font-size: 16px;
    /* color: rgba(255, 255, 255, 0.6); */
    margin: 0 0 24px 0;
}

.playlist-empty__btn {
    padding: 14px 32px;
    background: #ff3535;
    /* color: #fff; */
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-empty__btn:hover {
    background: #ff1e4f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 53, 101, 0.4);
}

/* Section Header */
.playlist-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-section-header__title {
    font-size: 24px;
    font-weight: 700;
    /* color: #fff; */
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.playlist-section-header__title svg {
    fill: currentColor;
    color: #ff3535;
}

.playlist-section-header__count {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    /* color: rgba(255, 255, 255, 0.7); */
}

/* Modal Styles */
.playlist-modal .modal-content {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.playlist-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 30px;
}

.playlist-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    /* color: #fff; */
    display: flex;
    align-items: center;
    gap: 12px;
}

.playlist-modal .modal-title svg {
    fill: currentColor;
    color: #ff3535;
}

/* .playlist-modal .btn-close {
    filter: invert(1);
    opacity: 0.6;
} */

.playlist-modal .btn-close:hover {
    opacity: 1;
}

.playlist-modal .modal-body {
    padding: 30px;
}

.playlist-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    gap: 12px;
}

/* Form Styles */
.playlist-form-group {
    margin-bottom: 24px;
}

.playlist-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    /* color: #fff; */
    margin-bottom: 8px;
}

.playlist-form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ff3535;
    border-radius: 8px;
    /* color: #fff; */
    font-size: 14px;
    transition: all 0.3s ease;
}

.playlist-form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #ff3535;
    box-shadow: 0 0 0 3px rgba(255, 53, 53, 0.1);
}

.playlist-form-input::placeholder {
    color: #000000;
}

textarea.playlist-form-input {
    resize: vertical;
    min-height: 100px;
}

.playlist-form-hint {
    display: block;
    font-size: 12px;
    /* color: rgba(255, 255, 255, 0.5); */
    margin-top: 6px;
}

/* Upload Area */
.playlist-upload-area {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-color: #ff3535;
}

.playlist-upload-area:hover {
    border-color: #ff3535;
    background: rgba(255, 53, 53, 0.05);
}

.playlist-form-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.playlist-upload-content svg {
    /* color: rgba(255, 255, 255, 0.4); */
    margin-bottom: 12px;
}

.playlist-upload-content p {
    font-size: 14px;
    font-weight: 600;
    /* color: #fff; */
    margin: 0 0 4px 0;
}

.playlist-upload-content small {
    font-size: 12px;
    /* color: rgba(255, 255, 255, 0.5); */
}

.playlist-upload-preview {
    position: relative;
}

.playlist-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.playlist-current-cover {
    margin-bottom: 16px;
    text-align: center;
}

.playlist-current-cover img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.playlist-current-cover .playlist-form-hint {
    margin-top: 8px;
    display: block;
}

.playlist-upload-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #ff3535;
    /* color: #fff; */
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.playlist-upload-remove:hover {
    background: #ff1e1e;
    transform: scale(1.1);
}

/* Switch */
.playlist-form-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.playlist-form-switch input[type="checkbox"] {
    display: none;
}

.playlist-form-switch-slider {
    position: relative;
    width: 44px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #ff3535;
}

.playlist-form-switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ff3535;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}
.playlist-form-switch input[type="checkbox"]:checked + .playlist-form-switch-slider::before {
    background: #fff;
}

.playlist-form-switch input[type="checkbox"]:checked + .playlist-form-switch-slider {
    background: #ff3535;
}

.playlist-form-switch input[type="checkbox"]:checked + .playlist-form-switch-slider::before {
    transform: translateX(20px);
}

.playlist-form-switch-label {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

/* Modal Buttons */
.playlist-modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-modal-btn--primary {
    background: #ff3535;
    color: #fff;
}

.playlist-modal-btn--primary:hover {
    background: #ff1e1e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 53, 53, 0.4);
}

.playlist-modal-btn--primary:disabled {
    background: rgba(255, 53, 53, 0.5);
    cursor: not-allowed;
    transform: none;
}

.playlist-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.playlist-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-modal-btn svg {
    fill: currentColor;
}

/* Share Modal */
.playlist-share-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.playlist-share-generate {
    width: 100%;
    padding: 14px 24px;
    background: #ff3535;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.playlist-share-generate:hover {
    background: #ff1e1e;
    transform: translateY(-1px);
}

.playlist-share-generate svg {
    fill: currentColor;
}

.playlist-share-result {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.playlist-share-link-wrapper {
    display: flex;
    gap: 8px;
}

.playlist-share-link {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 1);
    border-color: #ff3535;
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.playlist-share-copy {
    padding: 12px 20px;
    background: #ff3535;
    border-color: #ff3535;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.playlist-share-copy:hover {
    background: #ff3535;
    border-color: #ff3535;
}

.playlist-share-copy svg {
    fill: currentColor;
}

.playlist-share-success {
    font-size: 13px;
    color: #4caf50;
    margin: 8px 0 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.playlist-share-success::before {
    content: '✓';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .playlist-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .playlist-hero__content {
        flex-direction: column;
    }

    .playlist-hero__title {
        font-size: 32px;
    }

    .playlist-card__actions {
        opacity: 1;
    }

    .playlist-detail-hero {
        padding: 30px 20px;
    }

    .playlist-detail-hero__cover {
        width: 200px;
        height: 200px;
    }

    .playlist-detail-hero__title {
        font-size: 32px;
    }

    .track-item__actions {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .playlist-hero__title {
        font-size: 28px;
    }

    .playlist-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .playlist-detail-hero__cover {
        width: 160px;
        height: 160px;
    }

    .playlist-detail-hero__title {
        font-size: 28px;
    }

    .playlist-detail-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .playlist-action-btn {
        width: 100%;
        justify-content: center;
    }

    .track-item__title {
        max-width: 120px;
    }
    .playlist-detail-hero{
        display: block !important;
    }
    .playlist-detail-hero__content {
        display: block !important;
    }
}

/* ================================
   Playlist Detail Page
   ================================ */

/* Detail Hero Section */
.playlist-detail-hero {
	position: relative;
	padding: 60px 40px;
	background: linear-gradient(180deg, rgba(255, 53, 53, 0.2) 0%, rgba(26, 29, 41, 0.8) 100%);
	border-radius: 20px;
	margin-bottom: 10px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.playlist-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 53, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.playlist-detail-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    /* justify-content: end; */
    gap: 32px;
    margin-top: 25px;
}

.playlist-detail-hero__cover {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.playlist-detail-hero__cover:hover {
    transform: scale(1.02);
}

.playlist-detail-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-detail-hero__info {
    flex: 1;
    min-width: 0;
}

.playlist-detail-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.playlist-detail-hero__badge--public {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
    color: #4caf50;
}

.playlist-detail-hero__badge--private {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.4);
    color: #ff9800;
}

.playlist-detail-hero__badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.playlist-detail-hero__title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.1;
    word-wrap: break-word;
}

.playlist-detail-hero__description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    line-height: 1.6;
    max-width: 600px;
}

.playlist-detail-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.playlist-detail-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.playlist-detail-hero__meta-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.7;
}

.playlist-detail-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Action Buttons */
.playlist-action-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.playlist-action-btn--primary {
    background: #ff3535;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 53, 53, 0.3);
}

.playlist-action-btn--primary:hover {
    background: #ff1e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 53, 53, 0.5);
}

.playlist-action-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.playlist-action-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.playlist-action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Tracks List */
.playlist-tracks-list {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    /* padding: 24px; */
}

.playlist-tracks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-tracks-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.playlist-tracks-count {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Track Item */
.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.track-item__index {
    width: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: rgba(7, 7, 7, 0.5);
    flex-shrink: 0;
}

.track-item__play {
    width: 40px;
    height: 40px;
    background: #ff3535;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.track-item__play a{
    color: #fff !important;
}

.track-item__play:hover {
    background: #ff3535;
    transform: scale(1.1);
}

.track-item__play svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.track-item__cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    /* flex-shrink: 0; */
    position: relative;
}

.track-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-item__info {
    flex: 1;
    /* min-width: 0; */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-item__title {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item__artist {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item__duration {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    flex-shrink: 0;
    min-width: 60px;
    text-align: right;
}

.track-item__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.track-item:hover .track-item__actions {
    opacity: 1;
}

.track-item__action {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.track-item__action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.05);
}

.track-item__action--danger:hover {
    background: rgba(255, 53, 53, 0.2);
    border-color: #ff0000;
    color: #ff3535;
}

.track-item__action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

