a {
	color: #fef6ef;
}

#background {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 20px;
	position: relative;
	min-height: 100vh;
}

#main-title {
	font-size: 36px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 30px;
}

#subtitle {
	font-size: 18px;
	margin-bottom: 30px;
}
#login-box {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px 25px;
	border-radius: 20px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#login-title {
	font-size: 1.5rem;
	margin-bottom: 20px;
	text-align: left;
}

.input-field {
	width: 100%;
	padding: 15px;
	margin-bottom: 15px;
	border: none;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.2);
	font-size: 1rem;
	color: #fef6ef;
}

.input-field::placeholder {
	color: #fef6ef;
}

#forgot-password {
	text-align: right;
	margin-bottom: 20px;
}

#forgot-password a {
	font-size: 0.9rem;
	text-decoration: none;
}

#login-button {
	width: 100%;
	padding: 15px;
	border: none;
	border-radius: 12px;
	background-color: #044d4f;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	margin-bottom: 20px;
	color: #fef6ef;
}

#login-button:hover {
	background-color: #033b3d;
	color: #fef6ef;
}

#signup-text {
	text-align: center;
	font-size: 0.95rem;
}

#signup-text a {
	text-decoration: none;
}

#car-image {
	width: 100%;
	max-width: 420px;
	margin-top: 40px;

	animation: floatCar 4s ease-in-out infinite;
}
@keyframes floatCar {
	0% {
		transform: translateY(0);
		filter: drop-shadow(0 20px 18px rgba(0,0,0,0.25));
	}

	50% {
		transform: translateY(-8px);
		filter: drop-shadow(0 28px 25px rgba(0,0,0,0.18));
	}

	100% {
		transform: translateY(0);
		filter: drop-shadow(0 20px 18px rgba(0,0,0,0.25));
	}
}
#error-message {
	color: #a00;
	border-radius: 6px;
	margin-top: -15px;
	text-align: center;
	background: #ffe0e0;
}
.radio-group {
	margin-bottom: 15px;
	text-align:left;
}

.radio-group label {
	display: block;
	margin-bottom: 5px;
	cursor: pointer;
}


/* modal */
.modal {
	position: fixed;
	inset: 0;

	background: rgba(0,0,0,0.5);

	display: flex;
	justify-content: center;
	align-items: center;

	z-index: 9999;
}

.hidden {
	display: none;
}

.modal-close {
	position: absolute;
	top: 12px;
	right: 16px;

	border: none;
	background: transparent;

	font-size: 32px;
	line-height: 1;

	color: #fef6ef;
	cursor: pointer;
}

.modal-close:hover {
	opacity: 0.7;
}
.modal-content {
	position: relative;

	width: 90%;
	max-width: 500px;

	padding: 30px;

	background: rgba(255,255,255,0.12);
	backdrop-filter: blur(10px);

	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.2);

	box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.modal-title {
	margin-bottom: 20px;
	text-align: left;
}

.modal-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
}

.modal-button {
	padding: 12px 18px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-weight: bold;
}

.modal-button.primary {
	background: #044d4f;
	color: #fef6ef;
}

.modal-button.primary:hover {
	background: #033b3d;
}

.modal-button.secondary {
	background: rgba(255,255,255,0.2);
	color: #fef6ef;
}

.modal-button.secondary:hover {
	background: rgba(255,255,255,0.3);
}
#register-message {
	display: none;

	margin-top: 15px;
	margin-bottom: 15px;
	padding: 12px;

	border-radius: 10px;
	text-align: left;
}

#register-message.success {
	display: block;
	background: #dff5df;
	color: #0a5f0a;
}

#register-message.error {
	display: block;
	background: #ffe0e0;
	color: #a00000;
}
.modal-info {
	margin-bottom: 20px;
	padding: 12px 15px;

	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 12px;

	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	color: rgba(254,246,239,0.9);
}
.modal-info i {
	margin-right: 8px;
	color: #9fdfff;
}
.modal-info ul {
	margin-top: 8px;
	margin-left: 20px;
}

.modal-info li {
	margin-bottom: 4px;
}
.modal-info-title {
	font-weight: bold;
	margin-bottom: 8px;
}

.modal-info-title i {
	color: #9fdfff;
	margin-right: 8px;
}
/*  */
#forgot-password-modal .modal-content {
    max-width: 500px;
}

#forgot-password-modal .modal-input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 15px 16px;
    border: none;
    border-radius: 10px;
    background: rgba(145, 186, 190, 0.55);
    color: #fff;
    font-size: 16px;
    outline: none;
}

#forgot-password-modal .modal-input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

#forgot-password-modal .radio-group {
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}

#forgot-password-modal .radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#forgot-password-modal .modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

#forgot-password-modal .modal-btn {
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

#forgot-password-modal .modal-btn-secondary {
    background: rgba(255, 255, 255, 0.28);
}

#forgot-password-modal .modal-btn-primary {
    background: #005f5f;
}
.forgot-result {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.forgot-result.success {
    background: rgba(0, 128, 0, 0.2);
    border: 1px solid rgba(0, 200, 0, 0.4);
    color: #c8ffcb;
}

.forgot-result.error {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.4);
    color: #ffd0d0;
}
