body {
	font-family: Arial, sans-serif;
	text-align: center;
	margin-top: 25px;
    background-color: #f4f4f4;
    color: #333;
}

h1 {
    font-size: 24px;
}

.gallery {
	max-width: 600px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 10px auto;
}

@media (max-width: 768px) {
	.gallery {
		margin-left: 20px;
		margin-right: 20px;
	}
}

.gallery img {
	width: 125px;
	height: 125px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
    display: inline-block;
    margin: 15px 0;
    text-decoration: none;
    color: #007BFF;
    font-size: 18px;
}

a:hover {
    text-decoration: underline;
}

form {
    margin-top: 20px;
    background: white;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hide default file input */
input[type="file"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* Custom file input label */
.file-label {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Style when file input is focused */
input[type="file"]:focus + .file-label,
.file-label:hover {
    background-color: #0056b3;
}

/* Fake file name display using input[type="file"]'s ::after */
.file-label::after {
    content: " No file chosen";
    color: #555;
    margin-left: 10px;
    font-size: 14px;
}

/* Show 'File Selected' when a file is chosen */
input[type="file"]:valid + .file-label::after {
    content: " File selected!";
    color: #28a745;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

.pagination-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pagination-controls button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
.pagination-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}