* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-size: 16px !important;
}
.utilities {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    ;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 30px auto;
}

.utilities{

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
}

.upload-area {
    border: 3px dashed #1e1e1e;
    border-radius: 15px;
    padding: 50px 20px;
    margin: 30px 0;
    background: #f8f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #764ba2;
    background: #f0f2ff;
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: #764ba2;
    background: #e8ecff;
    transform: scale(1.02);
}

.quality-option {
    label{
       margin-bottom: 0px !important; 
    }

    radio{
        accent-color: #de9406;
    }

}

.upload-icon {
    font-size: 4em;
    color: #667eea;
    margin-bottom: 20px;
    min-height: 80px;
    line-height: 1;
}

.upload-text {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 10px;
}

.upload-subtext {
    font-size: 0.9em;
    color: #999;
}

#fileInput {
    display: none;
}

.quality-selector {
    margin: 30px 0;
    text-align: left;
}

.quality-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.quality-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.quality-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.quality-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.quality-option input[type="radio"] {
    margin: 0;
}

.quality-option input[type="radio"]:checked+label {
    color: #1e1e1e;
    font-weight: 600;
}

.quality-option:has(input[type="radio"]:checked) {
    border-color: #1e1e1e;
    background: #f8f9ff;
}

.convert-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.convert-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.file-list {
    margin: 20px 0;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8f9ff;
    border-radius: 10px;
    margin: 10px 0;
    border-left: 4px solid #de9406;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 0.9em;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
}

.remove-btn:hover {
    background: #ff3838;
}

.progress-container {
    margin: 20px 0;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #de9406 0%, #de9406 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #ffffff;
    font-size: 0.9em;
}

.success-message {
    background: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}



.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}