/* General Styles */
body {
	font-family: 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #ebebeb;
}

/* Navigation Bar */
#content nav {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ebebeb;
	padding: 20px 0;
	box-shadow: 0 2px 4px rgba(9, 4, 4, 0.1);
}

#content nav .nav-link {
	text-decoration: none;
	font-size: 24px;
	color: #201f1f;
    font-family: cursive;
	font-weight: bold;
}

#content nav .ppak {
	color: #f05454;
}

#content nav .uthm {
        color: #2d6abb;
}

/* Login Page Styles */
/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.login-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.login-wrapper {
    display: flex;
    width: 800px; /* Adjust width as needed */
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to both sections */
}

/* Image Section */
.login-image {
    flex: 1; /* Take 50% of the width */
    background-color: #ffffff; /* Optional background color */
}

.login-image img {
    width: 90%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without distortion */
}

/* Login Section */
.login-container {
    flex: 1; /* Take 50% of the width */
    padding: 30px;
    text-align: center;
}

.login-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 12px;
}

.input-group i {
    font-size: 20px;
    color: #888;
    margin-right: 10px;
}

.input-group input {
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 16px;
    color: #333;
}

.input-group input::placeholder {
    color: #bbb;
}

.forgot-password {
    display: block;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    margin: 10px 0;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column; /* Stack the image and login form vertically */
        width: 90%;
    }

    .login-image {
        height: 200px; /* Set a fixed height for the image section */
    }
}


.input-group i {
	font-size: 20px;
	color: #888;
	margin-right: 10px;
}

.input-group input {
	width: 100%;
	border: none;
	outline: none;
	background-color: transparent;
	font-size: 16px;
	color: #333;
}

.input-group input::placeholder {
	color: #bbb;
}

.forgot-password {
	display: block;
	font-size: 14px;
	color: #57616c;
	text-decoration: none;
	margin: 10px 0 20px 0;
}

.forgot-password:hover {
	text-decoration: underline;
}

.login-btn {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 5px;
	background-color: #0e6acc;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s ease;
	margin-top: 10px; /* Add spacing from the input fields */
}

.login-btn:hover {
	background-color: #0d4786;
}

/* Responsive Design */
@media (max-width: 480px) {
	.login-container {
		width: 90%;
		padding: 20px;
	}
}
/* Navigation bar styles */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 20px;
    background-color: #f9f9f9; /* Optional background */
}

/* Left-aligned Teacher Login button */
.teacher-login-btn {
    position: absolute;
    left: 20px;
    text-decoration: none;
    color: #fff;
    background-color: rgb(70, 118, 170);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.teacher-login-btn:hover {
    background-color: #0056b3;
}

/* Center-aligned logo */
.nav-link {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

