* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f3f3f3;
}
.upload-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 99vw;
    max-height: 80vh;
    position: relative;
}
input[type="file"] {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    cursor: pointer;
}
.main-label {
    width: 90vw;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: #333;
    background: #ddd;
    border: 2px dashed #999;
    cursor: pointer;
    position: relative;
}
.button-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
	justify-content: center;
}
.upload-btn, .download-btn {
    font-size: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
	margin: 20px auto;
}
.upload-btn i, .download-btn i {
    font-size: 24px;
}

/* Image preview styling */
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    width: 90%;
    max-width: 800px;
    justify-content: center;
	margin: 20px auto;
}

.preview-box {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 5px;
    border: 2px solid #007bff;
    overflow: hidden;
    transition: transform 0.2s;
}

.preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-box:hover {
    transform: scale(1.1);
}

/* Remove button */
.preview-item {
	display: inline-block;
	position: relative;
	margin: 5px;
}

.remove-btn {
	position: absolute;
	top: 0;
	right: 0;
	background-color: red;
	color: white;
	border: none;
	padding: 2px 5px;
	font-size: 12px;
	cursor: pointer;
	border-radius: 50%;
}

.remove-btn:hover {
	background-color: darkred;
}
