#player { position: absolute; width: 100% !important; height: 100% !important; } /* Quality Selector Container */ .quality-selector { position: absolute; top: 20px; left: 20px; z-index: 999; padding: 5px 15px; background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */ color: white; border-radius: 30px; font-size: 14px; font-family: Arial, sans-serif; display: flex; align-items: center; } /* Label for quality */ .quality-selector label { margin-right: 10px; color: #fff; font-weight: bold; } /* Style the dropdown */ .quality-selector select { background: rgba(255, 255, 255, 0.1); /* Light transparent background */ color: white; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 14px; padding: 5px; border-radius: 5px; outline: none; appearance: none; cursor: pointer; transition: background 0.3s ease, border 0.3s ease; } /* Dropdown arrow styling */ .quality-selector select { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTAgNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGw1IDUgNS01eiIvPjwvc3ZnPg=='); background-repeat: no-repeat; background-position: right 10px center; background-size: 10px 6px; padding-right: 25px; /* Space for dropdown arrow */ } /* On hover and focus */ .quality-selector select:hover, .quality-selector select:focus { background: rgba(255, 255, 255, 0.2); border: 1px solid white; } /* Style the options in the dropdown */ .quality-selector select option { background: #333; /* Darker background for options */ color: white; /* White text for options */ font-weight: normal; }