/* Michelin Brand Color Variables */
:root {
	--michelin-primary: #003366;
	--michelin-secondary: #FFD700;
	--michelin-accent: #004080;
	--michelin-white: #FFFFFF;
	--michelin-gray: #666666;
	--michelin-error: #ff4d4f;
	--michelin-success: #52c41a;
	--michelin-border: #e9ecef;
	--michelin-focus: rgba(255, 215, 0, 0.3);
}

/* login Page */
body {
	margin: 0;
	font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
	background-color: var(--michelin-white);
	height: 100vh;
}

.container {
	display: flex;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	position: relative;
	flex-direction: row-reverse;
}

.left-panel {
	position: relative;
	width: 60%;
	background-color: var(--michelin-primary);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	color: white;
	padding-top: 5px;
	text-align: left;
	z-index: 1;
	clip-path: polygon(0 0, 90% 0, 75% 100%, 0% 100%);
}

.left-panel::after {
	content: '';
	position: absolute;
	top: 0;
	right: -4%;
	width: 14%;
	height: 100%;
	background-color: var(--michelin-secondary);
	clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
	z-index: 3;
}

.title-wrapper {
	margin-bottom: 24px;
	text-align: center;
	background: var(--michelin-white);
	padding: 12px 8px 8px 8px;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	display: inline-block;
}

.title {
	color: var(--michelin-primary);
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 1.3;
	margin: 0;
	text-align: center;
}

.login-box {
	background: var(--michelin-accent);
	border-radius: 10px;
	padding: 30px;
	width: 400px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	color: white;
	text-align: left;
	margin-left: 30px;
	position: relative;
	z-index: 10;
}

.login-box h2 {
	margin-bottom: 20px;
	font-size: 22px;
}

.login-box input[type="email"],
.login-box input[type="password"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 2px solid var(--michelin-border);
	border-radius: 8px;
	background: var(--michelin-white);
	color: var(--michelin-primary);
	transition: all 0.3s ease;
}

.login-box input[type="email"]:focus,
.login-box input[type="password"]:focus {
	border-color: var(--michelin-secondary);
	box-shadow: 0 0 0 3px var(--michelin-focus);
	outline: none;
}

.login-box input::placeholder {
	color: var(--michelin-gray);
	opacity: 0.7;
}

.captcha-row {
	display: flex;
	align-items: center;
	color: white;
	margin-bottom: 10px;
	font-size: 14px;
}

.captcha-group {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.verify-label {
	margin-right: 10px;
	color: white;
}

.captcha-image {
	font-family: monospace;
	font-size: 22px;
	font-weight: bold;
	background-color: var(--michelin-white);
	color: var(--michelin-primary);
	padding: 5px 12px;
	border-radius: 5px;
	margin-right: 10px;
	display: inline-block;
	transform: rotate(-2deg);
}

.refresh-btn {
	background: none;
	border: none;
	color: var(--michelin-secondary);
	font-size: 22px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.refresh-btn:hover {
	color: var(--michelin-primary);
	transform: scale(1.1);
}

.login-btn {
	width: 100%;
	background: var(--michelin-secondary);
	color: var(--michelin-primary);
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: bold;
	margin-bottom: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.login-btn:hover {
	background: #FFE44D;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.forgot-link {
	display: block;
	text-align: center;
	color: #ffffff;
	font-size: 14px;
	text-decoration: none;
}

.right-panel {
	width: 40%;
	background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 1;
}

.logo-wrapper {
	margin-left: -20px;
}

.michelin-logo {
	width: 380px;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.michelin-text {
	font-size: 52px;
	font-weight: 900;
	font-style: italic;
	color: var(--michelin-accent);
	font-family: Arial Black, sans-serif;
	position: relative;
	margin-top: 10px;
}

.michelin-text::before {
	content: '';
	display: block;
	height: 6px;
	width: 100%;
	background-color: var(--michelin-secondary);
	position: absolute;
	top: -15px;
	left: 0;
}

.footer {
	width: 100%;
	text-align: center;
	font-style: italic;
	font-size: 14px;
	color: var(--michelin-gray);
	padding: 12px 0;
	background-color: var(--michelin-white);
	position: relative;
	z-index: 5;
}

.error-message {
	color: var(--michelin-error);
	background: #fff2f0;
	border: 1px solid #ffccc7;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 15px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(255, 77, 79, 0.1);
}

#Notification {
	width: 100%;
	margin: 0 auto 18px auto;
	text-align: center;
	font-size: 16px;
	font-family: Arial, sans-serif;
	z-index: 100;
}

#Notification marquee {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	border: 1px solid rgba(0, 0, 0, .15);
	background-color: #fffbe6;
	color: #d4380d;
	padding: 8px 0;
	font-weight: bold;
	border-radius: 4px;
}

.login-box label,
.login-box .checkbox-row label,
.login-box .captcha-row label {
	color: var(--michelin-primary);
	font-weight: 500;
}

.checkbox-row label {
	margin-left: 8px;
}

@media (max-width: 768px) {
	.container {
		flex-direction: column-reverse;
	}

	.left-panel,
	.right-panel {
		width: 100%;
		clip-path: none;
	}

	.left-panel::after,
	.yellow-divider {
		display: none;
	}

	.login-box {
		width: 90%;
		margin: 20px auto;
	}

	.michelin-logo {
		width: 220px;
	}

	.michelin-text {
		font-size: 32px;
	}

	.title {
		font-size: 18px;
		padding: 0 10px;
	}

	.captcha-row,
	.captcha-group {
		flex-direction: column;
		align-items: flex-start;
	}

	.captcha-group {
		gap: 10px;
	}
}

/* Diagonal Layout Login Page Styles */
* {
	box-sizing: border-box;
}
body, html {
	margin: 0;
	padding: 0;
	font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
	height: 100%;
	width: 100%;
}
.diagonal-layout {
	width: 100vw;
	height: 100vh;
	background: linear-gradient(135deg, var(--michelin-white) 50%, var(--michelin-primary) 50%);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.content {
	display: flex;
	width: 90%;
	max-width: 1200px;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	z-index: 1;
}
.left-content {
	flex: 1;
	text-align: center;
	padding: 20px;
}
.michelin-logo {
	width: 260px;
	max-width: 100%;
}
.right-content {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.login-box {
	background: var(--michelin-white);
	border-radius: 16px;
	padding: 30px;
	width: 100%;
	max-width: 360px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.login-box h2 {
	margin-bottom: 20px;
	color: var(--michelin-primary);
}
.login-box input[type="email"],
.login-box input[type="password"],
.login-box input[type="text"] {
	width: 100%;
	padding: 12px;
	margin-bottom: 15px;
	border: 2px solid var(--michelin-border);
	border-radius: 8px;
	font-size: 14px;
	background: var(--michelin-white);
	color: var(--michelin-primary);
	transition: all 0.3s ease;
}

.login-box input[type="email"]:focus,
.login-box input[type="password"]:focus,
.login-box input[type="text"]:focus {
	border-color: var(--michelin-secondary);
	box-shadow: 0 0 0 3px var(--michelin-focus);
	outline: none;
}
.checkbox-row {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	font-size: 14px;
}
.captcha-row {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	font-size: 14px;
}
.captcha {
	background: var(--michelin-white);
	color: var(--michelin-primary);
	font-family: monospace;
	font-size: 18px;
	padding: 6px 12px;
	margin: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--michelin-border);
	font-weight: bold;
}
.refresh-btn {
	background: none;
	border: none;
	font-size: 18px;
	color: var(--michelin-secondary);
	cursor: pointer;
	transition: all 0.3s ease;
}

.refresh-btn:hover {
	color: var(--michelin-primary);
	transform: scale(1.1);
}
.login-btn {
	width: 100%;
	background-color: var(--michelin-secondary);
	color: var(--michelin-primary);
	font-weight: bold;
	font-size: 16px;
	padding: 12px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.login-btn:hover {
	background: #FFE44D;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}
.forgot-link {
	display: block;
	text-align: center;
	margin-top: 15px;
	font-size: 14px;
	color: var(--michelin-gray);
	text-decoration: none;
	transition: all 0.3s ease;
}

.forgot-link:hover {
	color: var(--michelin-primary);
	text-decoration: underline;
}
@media (max-width: 768px) {
	.content {
		flex-direction: column;
		text-align: center;
	}
	.right-content {
		margin-top: 20px;
	}
	.login-box {
		max-width: 100%;
	}
}
/* End Diagonal Layout Login Page Styles */