/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    direction: rtl;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    margin-top: 105px;
    animation: fadeInDown 0.6s ease;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== Card (Glassmorphism) ===== */
.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease;
}

.card-header {
    margin-bottom: 20px;
}

.card-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-body {
    color: white;
}

/* ===== Upload Area ===== */
.upload-area {
    border: 3px dashed rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.upload-area.dragover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.upload-subtext {
    margin: 15px 0;
    opacity: 0.8;
}

.upload-info {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== Video Info ===== */
.video-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    opacity: 0.9;
}

.info-value {
    opacity: 0.8;
}

/* ===== Buttons ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-split {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ===== Form Elements ===== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.overlap-settings {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.input-group input {
    width: 100px;
    padding: 12px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
}

.btn-counter {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-counter:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.input-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

.input-hint span {
    font-weight: 600;
    color: #4CAF50;
}

/* ===== Progress Bar ===== */
.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.3s ease;
    width: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.progress-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.progress-status {
    text-align: center;
    opacity: 0.8;
}

/* ===== Results Grid ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.result-name {
    font-weight: 600;
    margin-bottom: 10px;
    word-break: break-word;
}

.result-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.result-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    padding: 0 5px;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===== Share Section ===== */
.share-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.share-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.btn-share:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #1ebe57;
}

.btn-telegram {
    background: #0088cc;
}

.btn-telegram:hover {
    background: #006699;
}

.btn-twitter {
    background: #000000;
}

.btn-twitter:hover {
    background: #1a1a1a;
}

.btn-snapchat {
    background: #FFFC00;
    color: #000000;
}

.btn-snapchat:hover {
    background: #ece600;
}

.btn-tiktok {
    background: linear-gradient(45deg, #FF0050, #00F2EA);
}

.btn-tiktok:hover {
    background: linear-gradient(45deg, #e6004a, #00dad4);
}

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    color: white;
    padding: 20px;
    opacity: 0.8;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links span {
    margin: 0 5px;
    opacity: 0.5;
}

/* ===== Ad Containers ===== */
.ad-container {
    margin: 20px auto;
    text-align: center;
    max-width: 1000px;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    color: white;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder p {
    margin: 5px 0;
    opacity: 0.7;
}

.ad-top {
    margin-top: 10px;
    margin-bottom: 30px;
}

.ad-middle {
    margin: 30px auto;
}

.ad-bottom {
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Hide ad placeholders on small screens */
@media (max-width: 1200px) {
    .ad-container {
        max-width: 320px;
    }
    
    .ad-placeholder {
        min-height: 50px;
        padding: 20px;
    }
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay p {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* ===== Format Grid ===== */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.format-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
}

.format-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.format-btn.active {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-color: #4CAF50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.format-icon {
    font-size: 2rem;
}

.format-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.format-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== Quality Select ===== */
.quality-select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.quality-select option {
    background: #667eea;
    color: white;
}

/* ===== Result Single ===== */
.result-single {
    margin: 20px 0;
}

.result-info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.result-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-info-card h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.result-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    opacity: 0.9;
}

.detail-value {
    opacity: 0.8;
}

/* ===== Spinner ===== */
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Remove spinner arrows from number input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* ===== Ad Styles ===== */

/* Sticky Banner Ad (Top) */
.ad-sticky-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.5s ease;
}

.ad-sticky-banner .ad-content {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-sticky-close {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-sticky-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Sidebar Ads */
.ad-sidebar-container {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    animation: fadeIn 1s ease;
}

.ad-sidebar-left {
    left: 10px;
}

.ad-sidebar-right {
    right: 10px;
}

.ad-sidebar-content {
    width: 160px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Interstitial Ad Overlay */
.ad-interstitial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.ad-interstitial-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: 600px;
    max-height: 90%;
    overflow: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.ad-interstitial-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-timer {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.ad-close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ad-close-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ad-close-btn:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.ad-interstitial-content {
    padding: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder-interstitial {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    width: 100%;
}

.ad-placeholder-interstitial h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ad-placeholder-interstitial p {
    opacity: 0.8;
    margin: 5px 0;
}

/* Ad Container Styles */
.ad-container {
    margin: 20px 0;
    animation: fadeIn 0.6s ease;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: white;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder p {
    margin: 5px 0;
    opacity: 0.8;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Ad Styles */
@media (max-width: 1200px) {
    .ad-sidebar-container {
        display: none; /* إخفاء الإعلانات الجانبية على الشاشات الصغيرة */
    }
}

@media (max-width: 768px) {
    .ad-sticky-banner .ad-content {
        min-height: 50px;
    }
    
    .ad-interstitial-container {
        width: 95%;
    }
    
    .ad-interstitial-content {
        padding: 20px;
        min-height: 300px;
    }
}

/* ===== Tabs Navigation ===== */
.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== Tab Content ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* ===== Clips Input Group ===== */
.clip-input-group {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.clip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.clip-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.clip-times {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.time-input {
    display: flex;
    flex-direction: column;
}

.time-input label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.time-input input {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1rem;
}

.time-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.time-input input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.clip-start,
.clip-end {
    width: 100%;
}

/* ===== Long Ad Styles ===== */
.ad-interstitial-container.ad-long {
    max-width: 700px;
}

.ad-placeholder-long {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.ad-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

/* ===== Responsive Styles for New Features ===== */
@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        min-width: unset;
    }
    
    .clip-times {
        grid-template-columns: 1fr;
    }
}
/* ===== Quality Select Styling ===== */
.quality-select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    background: rgba(30, 30, 50, 0.6);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    padding-left: 45px;
}

.quality-select:hover {
    border-color: rgba(99, 102, 241, 0.7);
    background: rgba(40, 40, 60, 0.7);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.quality-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Quality select options styling */
.quality-select option {
    background: #1a1a2e;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.quality-select option:hover {
    background: #2a2a4e;
}

.quality-select option:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

/* For better mobile experience */
@media (max-width: 768px) {
    .quality-select {
        font-size: 0.95rem;
        padding: 10px 12px;
        padding-left: 40px;
        background-size: 18px;
        background-position: left 10px center;
    }
}
