form {
	margin: 0 20px;
}

.label {
	padding: 12px 12px 12px 0;
	display: inline-block;
	color: #1260CC;
	font-weight: bold;
}

.input {
	width: calc(100% - 57px);
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
	display: block;
	font-size: 16px;
	font-family: Roboto, Arial, sans-serif;
}

.textarea {
	width: calc(100% - 57px);
	padding: 12px;
	font-size: 16px;
	font-family: Roboto, Arial, sans-serif;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
	display: block;
	height: 200px;
}

.category {
	width: calc(100% - 57px);
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
	font-size: 16px;
	font-family: Roboto, Arial, sans-serif;
}

.form-container {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	/* Add space between menu and image section */
}

.input[type="file"] {
	display: block;
}

.button {
	width: 100%;
	padding: 10px 0;
	margin: 10px auto;
	border-radius: 5px;
	border: none;
	background: #003893;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

/* New .danger class for red background */
button.danger {
    background: #D32F2F;  /* Red background */
}

.locationbutton {
	width: 100%;
	padding: 10px 0;
	margin: 10px auto;
	border-radius: 5px;
	border: none;
	background: #003893;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.uploadbutton {
	display: inline-block;
	background-color: whitesmoke;
	color: royalblue;
	cursor: pointer;
	border: 1px solid royalblue;
	padding: 8px 16px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease;
	margin: 20px 0;
}

.uploadbutton i {
	margin-right: 8px;
}

.uploadbutton:hover {
	background-color: royalblue;
	color: white;
}

.button:hover {
	background: #325999;
}

.location-container {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
	gap: 10px;
	/* Adds space between the inputs */
}

.location-container select {
	flex: 1;
	/* ✅ Make dropdowns take equal space */
	min-width: 0;
	/* ✅ Prevent overflow */
}

.fieldset {
	color: darkgrey;
	border-style: solid;
	border-radius: 4px;
	/* Optional: Round the corners of the border */
}

/* Styling for the success message */
.success-message {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	padding: 20px;
	margin: 20px 0;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

@media screen and (max-width: 600px) {

	.input,
	.textarea,
	.category {
		width: 95%;
		margin-top: 0;
	}

	.location-container {
		flex-direction: column;
		/* ✅ Stack vertically on small screens */
	}

	.location-container select {
		width: 100%;
		/* ✅ Make each dropdown full width on small screens */
	}

}