/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body and Main Layout */
body {
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Container with Two Sections */
.container {
    display: flex;
    height: 100vh;
}

/* Left Section: Logo and Title */
.left-section {
    flex: 1;
    background-color: #001F3F;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.logo {
    width: 150px;   /* Adjust logo size */
    height: auto;
    margin-bottom: 20px;
}

.left-section h1 {
    font-size: 36px;
}

/* Right Section: Sign-in Form */
/* Home Button Styling */
.home-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #001F3F;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
    z-index: 10;  /* Ensure it stays on top */
}

.home-btn:hover {
    background-color: #FFD700;
    color: #001F3F;
}

/* Adjust right section to make room for the Home button */
.right-section {
    position: relative;  /* Make it the reference for absolute positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: white;
}

/* Form Container */
.form-container {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Form Styling */
.teacher-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.teacher-form label {
    font-weight: bold;
    text-align: left;
}

.teacher-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 14px;
}

/* Button Styling */
.btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background: #001F3F;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #FFD700;
    color: #001F3F;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: #001F3F;
    font-weight: bold;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.forgot_password-link {
    text-align: center;
    margin-top: 15px;
}

.forgot_password-link a {
    color: #001F3F;
    font-weight: bold;
    text-decoration: none;
}

.forgot_password-link a:hover {
    text-decoration: underline;
}

/* Footer Styling */
footer {
    background-color: #001F3F;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-section, .right-section {
        flex: none;
        width: 100%;
    }

    .logo {
        width: 100px;
    }
}
