.player-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
}

.player-main {
    background: #000;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 2px solid #fff;
}

.now-playing {
    text-align: center;
    margin-bottom: 25px;
}

.track-info h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.track-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.control-btn {
    background: #fff;
    border: 2px solid #000;
    color: #000;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.play-pause {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background: #fff;
    border: 3px solid #000;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-container span {
    color: white;
    font-size: 0.9rem;
    min-width: 45px;
    text-align: center;
}

.progress-bar-wrapper {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #fff;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.volume-control span:first-child {
    font-size: 1.2rem;
}

#volume-slider {
    width: 200px;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
    border: 1px solid #fff;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 2px solid #000;
    touch-action: manipulation;
}

#volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 2px solid #000;
    touch-action: manipulation;
}

#volume-value {
    min-width: 40px;
    text-align: left;
    font-size: 0.9rem;
}

.playlist {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #000;
}

.playlist h2 {
    color: #000;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 600;
}

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

.track-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #000;
    flex-wrap: wrap;
    gap: 10px;
}

.track-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.track-item.active {
    background: #000;
    color: #fff;
    border-color: #000;
}


.track-number {
    font-weight: 600;
    margin-right: 15px;
    min-width: 30px;
    color: #000;
}

.track-item.active .track-number {
    color: #fff;
}

.track-name {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
}

.track-duration {
    color: #000;
    font-size: 0.9rem;
    margin-left: 10px;
}

.track-item.active .track-duration {
    color: rgba(255, 255, 255, 0.8);
}

.play-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.inquire-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.inquire-btn:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.inquire-btn.sold,
.inquire-btn:disabled {
    background: #999;
    color: #fff;
    border-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.inquire-btn.sold:hover,
.inquire-btn:disabled:hover {
    background: #999;
    color: #fff;
    border-color: #999;
}

.track-item.active .inquire-btn {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.track-item.active .inquire-btn:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.track-item.active .inquire-btn.sold,
.track-item.active .inquire-btn:disabled {
    background: #666;
    color: #fff;
    border-color: #666;
}

.track-item.active .inquire-btn.sold:hover,
.track-item.active .inquire-btn:disabled:hover {
    background: #666;
    color: #fff;
    border-color: #666;
}

/* Inquiry Modal Styles */
.inquiry-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.inquiry-modal-content {
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.inquiry-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.inquiry-close:hover {
    color: #666;
}

.inquiry-modal-content h2 {
    color: #000;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    text-align: center;
}

#inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background: #fff;
    color: #000;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

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

.inquiry-submit-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.inquiry-submit-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .player-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .player-main {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .track-info h3 {
        font-size: 1.1rem;
    }
    
    .track-info p {
        font-size: 0.85rem;
    }
    
    .player-controls {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .play-pause {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .progress-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-container span {
        font-size: 0.75rem;
        min-width: 40px;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .volume-control {
        display: none;
    }
    
    .playlist {
        padding: 20px 15px;
    }
    
    .playlist h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .track-item {
        padding: 12px;
        flex-wrap: wrap;
    }
    
    .track-name {
        font-size: 1rem;
    }
    
    .track-number {
        font-size: 0.9rem;
        min-width: 25px;
    }
    
    .track-duration {
        font-size: 0.85rem;
    }
    
    .inquire-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-left: auto;
        width: 100%;
        margin-top: 10px;
    }
    
    .inquiry-modal-content {
        padding: 20px;
        width: 95%;
        max-width: 95%;
    }
    
    .inquiry-modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        gap: 8px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .inquiry-submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .player-container {
        padding: 10px;
    }
    
    .player-main {
        padding: 15px 10px;
    }
    
    .track-info h3 {
        font-size: 1rem;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .play-pause {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .progress-container span {
        font-size: 0.7rem;
    }
    
    .playlist h2 {
        font-size: 1.3rem;
    }
    
    .track-item {
        padding: 10px;
    }
    
    .track-name {
        font-size: 0.95rem;
    }
    
    .inquiry-modal-content {
        padding: 15px;
    }
    
    .inquiry-modal-content h2 {
        font-size: 1.3rem;
    }
    
    .inquiry-close {
        right: 15px;
        top: 10px;
        font-size: 1.5rem;
    }
}
