body {
    font-family: Arial, sans-serif;
    background: #1e1e2e;
    color: white;
    text-align: center;
    margin: 0;
    padding: 20px;
}

.container {
    width: 90%;
    max-width: 800px;
    background: #2a2a3a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
    margin: auto;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.upload-label {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 60px 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 800;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.upload-label:hover {
    background: #1f1f29;
}

input[type="file"] {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 15px 0;
    width: 100%;
}

.dropdown-btn {
    background: #5568fe;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 800;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-btn:hover {
    background: #3f51b5;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #3a3a4a;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li {
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.dropdown-content li:hover {
    background: #505062;
}

/* Button Styles */
#convertBtn {
    width: 100%;
    background: #00c853;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 900;
}

#convertBtn:hover {
    background: #009624;
}

.success-message {
    display: none;
    background: #00c853;
    color: white;
    padding: 10px 0;
    margin: 15px auto;
    border-radius: 5px;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
}

/* Convert Loading Styles */
.loading {
    display: none;
    margin: 20px auto;
    font-size: 18px;
    font-weight: 600;
}

.loading::after {
    content: " ";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #00c853;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Image Card Styles */
#imageCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
    gap: 10px;
    width: 100%;
}

.card {
    background: #3a3a4a;
    border-radius: 8px;
    padding: 10px;
    width: 120px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(255, 255, 255, 0.2);
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Download Button Styles */
.download-btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 800;
    font-size: 16px;
}

.download-btn:hover {
    background: #ff4949;
}

/* Download All Button Styles */
.download-all-btn {
    width: 100%;
    display: none;
    background: #ff9800;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
    font-weight: 800;
    font-size: 16px;
}

.download-all-btn:hover {
    background: #e68900;
}

/* Drag & Drop Styles */
.drop-zone {
    border: 2px dashed #5568fe;
    border-radius: 5px;
    margin: 15px 0;
    transition: all 0.3s;
}

.drop-zone.dragover {
    border-color: #00c853;
    background: rgba(85, 104, 254, 0.1);
}