/* Global Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; /* Ensure consistent box-sizing across browsers */
}

/* Flexbox Wrapper */
.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh; /* Full viewport height for vertical centering */
	background-color: lightgray; /* Background color for wrapper */
}

/* Maintenance Box */
.maintenance {
	font-family: Arial, sans-serif;
	background-color: #fff;
	color: #333;
	text-align: center;
	padding: 20px; /* Spacing inside the box */
	border-radius: 8px; /* Rounded corners */
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
	width: 600px; /* Default width for desktop */
}

/* Headings and Paragraphs */
.maintenance h1,
.maintenance p {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: inherit; /* Inherit the font size from the parent element */
	color: inherit; /* Inherit color from the parent */
}

/* Style for h1 inside the .maintenance block */
.maintenance h1 {
	font-size: 1.6em; /* Large heading */
	margin: 20px 0; /* Space above and below heading */
	font-weight: 600; /* Bold text */
}

/* Style for p inside the .maintenance block */
.maintenance p {
	font-size: 1em; /* Medium paragraph text */
	line-height: 1.5; /* Line height for readability */
	margin-bottom: 20px; /* Space below paragraphs */
}

/* Style for images inside the .maintenance block */
.maintenance img {
	width: 30%; /* Set images to 30% of the maintenance block width */
	height: auto; /* Maintain aspect ratio */
}



.admin-maintenance-notice {
	font-family: Arial, sans-serif;
	position: fixed;
	top: 50px; /* Adjust for desired vertical spacing */
	left: 50%;
	transform: translateX(-50%); /* Center the notice horizontally */
	width: auto; /* Allow width to adjust based on content */
	max-width: 80%; /* Limit width to avoid overflow on small screens */
	background: rgba(255, 223, 186, 0.9); /* Light peach background for a soft look */
	color: #333; /* Dark text for readability */
	padding: 5px 5px 5px 15px; /* Padding for top/bottom and left/right */
	text-align: left; /* Align text to the left */
	z-index: 9999; /* Ensure it is above other content */
	font-size: 0.85em; /* Medium paragraph text */
	font-weight: 500; /* Less bold text */
	border: 1px solid #f0a500; /* Soft orange border */
	border-radius: 10px; /* Rounded corners for a softer appearance */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
	animation: slide-down 0.5s ease; /* Smooth slide-down animation */
	display: flex; /* Use flexbox for layout */
	justify-content: space-between; /* Space between text and button */
	align-items: center; /* Center align items vertically */
}

/* Close button styles */
.admin-maintenance-notice .close-button {
	background: rgba(255, 223, 186, 0.9); /* Soft yellow background */
	border: none;
	color: #000; /* Change close button text color to black */
	font-size: 16px; /* Slightly smaller font size */
	font-weight: 200; /* Less bold button text */
	cursor: pointer;
	padding: 5px;
	border-radius: 5px; /* Rounded corners for the button */
	transition: background 0.3s ease, color 0.3s ease;
	margin-left: 10px; /* Add margin to the left of the button for spacing */
}

.admin-maintenance-notice .close-button:hover {
	background: #e6b800; /* Darker yellow on hover */
	color: #fff; /* Change text color to white on hover */
}

/* Text size adjustment */
.admin-maintenance-notice span {
	font-size: 1em; /* Smaller text size for notice */
	line-height: 1.5; /* Improve readability */
}


/* Mobile Responsiveness */
@media (max-width: 600px) {
	.maintenance {
		width: 80%; /* Adjust width for smaller screens */
	}

	.maintenance h1 {
		font-size: 1em; /* Smaller heading for mobile */
	}

	.maintenance p {
		font-size: 0.7em; /* Smaller paragraph text for mobile */
	}
	/* Text size adjustment */
	.admin-maintenance-notice  {
		font-size: 0.6em; /* Smaller text size for notice */
	}

}