body {
    background-image: url("background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    font-family: cursive;
    transition: background-image 0.3s, color 0.3s;
}
.container {
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-primary {
    background-color: #6c757d;
    border: none;
    width: 100%;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #5a6268;
}
.btn-primary:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}
.form-select, .form-control {
    margin-top: 20px;
}
.progress {
    margin-top: 20px;
    height: 30px;
    width: 100%;
}
.progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: width 0.2s ease;
}
.status-text {
    margin-top: 20px;
    font-weight: bold;
}
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f8f9fa;
}
p {
    margin-top: 20px;
}
.info {
    text-align: center;
    margin-bottom: 20px;
}
.info h2 {
    font-size: 1.5rem;
    color: #f8f9fa;
    transition: color 0.3s;
}
.info p {
    font-size: 1rem;
    color: #f8f9fa;
    transition: color 0.3s;
}
.light-mode {
    background-image: url("background-light.webp");
    color: #343a40;
}
.light-mode .container {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: #343a40;
}
.light-mode h1 {
    color: #007BFF;
}
.light-mode .info h2,
.light-mode .info p {
    color: #555;
}
.light-mode .btn-primary {
    background-color: #007BFF;
}
.light-mode .btn-primary:hover {
    background-color: #0056b3;
}
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.theme-toggle i {
    font-size: 1.5rem;
}
.drag-drop-area {
    border: 2px dashed #6c757d;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}
.drag-drop-area.dragging {
    border-color: #007BFF;
    background-color: #f8f9fa33;
}
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
    max-height: 250px;
    overflow-y: auto;
}
.image-preview-item {
    position: relative;
}
.image-preview-item img {
    width: 50px; /* Reduced size for faster rendering */
    height: 50px; /* Reduced size for faster rendering */
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #6c757d;
}
.load-more {
    display: block;
    margin: 10px auto;
    padding: 10px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}