body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}
h1 {
    text-align: center;
    color: #333;
}
.container {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.drop-area:hover, .drop-area.highlight {
    background: #e9e9e9;
}
.drop-area p {
    margin: 0;
    font-size: 18px;
    color: #666;
}
.settings {
    margin-bottom: 20px;
}
.settings label {
    display: block;
    margin-bottom: 10px;
}
.settings input, .settings select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-left: 10px;
}
button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #3e8e41;
}
button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
.results {
    margin-top: 20px;
}
.preview {
    margin-top: 20px;
    text-align: center;
}
.preview img {
    max-width: 100%;
    max-height: 400px;
    border: 1px solid #ddd;
}
.file-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.download-btn {
    margin-top: 15px;
}
.hidden {
    display: none;
}
progress {
    width: 100%;
    margin-top: 10px;
}

/* MIT License */
        /* License section styles */
        .license-section {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #ddd;
            font-size: 14px;
            color: #777;
            text-align: center;
        }
        
        .license-badge {
            display: inline-block;
            background: #555;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            margin-right: 10px;
            font-size: 12px;
            cursor: pointer;
            position: relative;
        }
        
        .license-badge:hover {
            background: #444;
        }
        
        .license-tooltip {
            visibility: hidden;
            width: 300px;
            background-color: #333;
            color: #fff;
            text-align: left;
            border-radius: 6px;
            padding: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -150px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
            line-height: 1.4;
        }
        
        .license-badge:hover .license-tooltip {
            visibility: visible;
            opacity: 1;
        }
        
        .author-info {
            display: inline-block;
        }