body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.drop-area:hover, 
.drop-area.highlight {
    background-color: #e9e9e9;
}

#fileInput {
    display: none;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.button-container {
    margin-top: 20px;
}

#fileList {
    margin-top: 20px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.file-name {
    flex-grow: 1;
}

.file-size {
    margin-left: 10px;
    color: #666;
}

.remove-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    margin-left: 10px;
}

.remove-btn:hover {
    background-color: #c0392b;
}

#progress-container {
    display: none;
    margin-top: 20px;
}

progress {
    width: 100%;
    height: 20px;
}

#status {
    margin-top: 10px;
    font-style: italic;
}

.settings {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.settings h3 {
    margin-top: 0;
}

.settings label {
    display: block;
    margin: 10px 0 5px;
}

.settings input[type="range"] {
    width: 100%;
}

.settings .value-display {
    text-align: right;
    font-weight: bold;
}

.conversion-options {
    display: flex;
    margin: 20px 0;
    gap: 10px;
}

.option-card {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.option-card:hover {
    background-color: #f5f5f5;
}

.option-card.selected {
    border-color: #3498db;
    background-color: #ebf5fb;
}

.option-card h3 {
    margin-top: 0;
    color: #2c3e50;
}

.option-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Result container styling */
.result-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.result-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.download-all-btn {
    background-color: #2ecc71;
    margin-bottom: 15px;
}

.download-all-btn:hover {
    background-color: #27ae60;
}

.image-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 10px;
}

.image-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.image-name {
    flex-grow: 1;
}

.image-size {
    margin: 0 10px;
    color: #666;
}

.image-download-btn {
    background-color: #2ecc71;
    padding: 4px 8px;
    font-size: 14px;
}

.image-download-btn:hover {
    background-color: #27ae60;
}