/* Global login page styles */
body.login
{
	background-color: #1a1a1a !important; /* Dark graphite background */
	color: #fff; /* Light text on dark background */
	font-family: Arial, sans-serif;
}

/* Custom login logo */
.login h1 a
{
	background-image: url('imacrew.png');
	background-size: contain;
	width: 256px;
	height: 128px;
	margin-bottom: 20px;
}

/* Login form container */
.login form
{
	background-color: #2c2c2c !important; /* Darker background for the form */
	padding: 40px 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-width: 350px;
	margin: 0 auto;
	border: 1px solid #444;
}

/* Input fields */
.login input[type="text"],
.login input[type="password"]
{
	width: 100%;
	padding: 12px 16px;
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid #555; /* Darker border */
	background-color: #333; /* Dark background for input fields */
	color: #fff; /* Light text inside input fields */
	font-size: 16px;
}

/* Focus effect for inputs */
.login input[type="text"]:focus,
.login input[type="password"]:focus
{
	border-color: #ff5900; /* Orange border on focus */
	outline: none;
	background-color: #444; /* Slightly lighter background on focus */
}

/* Login button */
.login .button-primary
{
	background-color: #ff5900; /* Your company orange */
	border-color: #ff5900;
	color: #fff;
	padding: 12px 16px;
	border-radius: 5px;
	text-transform: uppercase;
	font-weight: bold;
	width: 100%;
	font-size: 16px;
	margin-top: 10px;
}

.login .button.wp-hide-pw
{
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

/* Hover effect for the login button */
.login .button-primary:focus,
.login .button-primary:hover,
.login .button-primary:active
{
	background-color: #e65100 !important; /* Darker shade for hover */
	border-color: #e65100 !important;
}

/* Styling for the "Lost your password?" link */
.login .wp-login-lost-password
{
	text-align: center;
	display: inline-block;
	border: 1px solid #ff5900;
	color: #fff !important;
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
}

.login .wp-login-lost-password:hover
{
	background-color: #e651007e; /* Darker hover effect */
}

/* Hide the default checkbox */
.login .forgetmenot input[type="checkbox"]
{
	display: none;
}

/* Style the custom checkbox */
.login .forgetmenot
{
	margin-bottom: 10px;
}
.login .forgetmenot label
{
	position: relative;
	padding-left: 35px; /* Space for the custom checkbox */
	cursor: pointer;
	font-size: 16px; /* Adjust text size */
	color: #fff; /* Set label text color */
}

/* Custom checkbox style */
.login .forgetmenot label::before
{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border: 2px solid #555; /* Dark border */
	border-radius: 4px; /* Rounded corners */
	background-color: #333; /* Background color */
	transition: background-color 0.3s, border-color 0.3s;
}

/* Checkmark when checked */
.login .forgetmenot input[type="checkbox"]:checked + label::before
{
	background-color: #ff5900; /* Color when checked */
	border-color: #ff5900; /* Match with button color */
}

/* Checkmark icon when checked */
.login .forgetmenot input[type="checkbox"]:checked + label::after
{
	content: "✔"; /* Checkmark symbol */
	position: absolute;
	left: 5px;
	top: 2px;
	color: #fff;
	font-size: 14px;
}

/* Hover effect for the custom checkbox */
.login .forgetmenot label:hover::before
{
	border-color: #ff5900; /* Border color on hover */
}

/* Language dropdown */
/* Container styling for language switcher */
.language-switcher {
	margin-top: 10px; /* Smaller space above the language switcher */
	text-align: center; /* Center-align the switcher */
}
#language-switcher
{
	background-color: transparent !important;
}

/* Label styling */
.language-switcher label
{
	display: inline-flex;
	align-items: center;
	font-size: 14px; /* Smaller font size for the label */
	color: #fff; /* Set label text color */
	margin-bottom: 5px; /* Reduce space between label and select */
	cursor: pointer;
}

/* Custom icon next to the label */
.language-switcher .dashicons-translation
{
	margin-right: 5px; /* Reduce space between the icon and text */
	font-size: 16px; /* Smaller icon size */
	color: #ff5900; /* Keep the color consistent with the theme */
}

/* Style for the select dropdown */
.language-switcher select
{
	width: 150px; /* Smaller width for the dropdown */
	padding: 2px 25px; /* Smaller padding for a more compact appearance */
	margin: 5px 0; /* Reduced margin */
	border-radius: 4px; /* Slightly rounded corners */
	border: 1px solid #555; /* Dark border to match the form */
	background-color: transparent; /* No background color */
	color: #fff; /* Text color */
	font-size: 14px; /* Smaller font size */
	appearance: none; /* Remove default dropdown arrow */
	-webkit-appearance: none; /* For Safari */
	-moz-appearance: none; /* For Firefox */
}

/* Custom dropdown arrow for select */
.language-switcher select::after
{
	content: '\25BC'; /* Downward arrow symbol */
	font-size: 16px;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #ff5900; /* Set the arrow color */
}

/* Custom submit button styling */
.language-switcher input[type="submit"]
{
	background-color: transparent; /* No background color */
	border: 1px solid #555; /* Dark border to match the form */
	color: #fff;
	padding: 2px 12px; /* Smaller padding */
	border-radius: 4px; /* Slightly rounded corners */
	font-size: 14px; /* Smaller font size */
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	width: auto;
	margin-top: 5px; /* Smaller margin */
	transition: border-color 0.3s ease;
}

/* Hover effect for submit button */
.language-switcher input[type="submit"]:hover
{
	border-color: #ff5900; /* Orange border on hover */
}

/* Optional: Focus effect for select field */
.language-switcher select:focus
{
	border-color: #ff5900;
	background-color: transparent;
	outline: none;
}


/* Remove "Go to site" link */
#backtoblog
{
	display: none;
}

/* Logout / system message styling */
#login-message,
.login .message,
.login .error,
.login .success,
.login .notice
{
	background-color: #2c2c2c !important; /* Match form background */
	border-left: 4px solid #ff5900; /* Orange accent line */
	color: #fff;
	padding: 16px 20px;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	font-size: 15px;
}

/* Link inside messages (just in case) */
.login .message a,
.login .error a,
.login .success a,
#login-message a
{
	color: #ff5900;
	text-decoration: underline;
}

.login .message a:hover,
.login .error a:hover,
.login .success a:hover,
#login-message a:hover
{
	color: #e65100;
}

#login-message p::before {
	content: "ℹ️ ";
	margin-right: 8px;
}
