/* Reset basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background gradient mixing the green and orange theme softly */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e4620 0%, #0f2a11 50%, #d46000 100%);
    padding: 20px;
}

/* Login Card Container */
.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #f27000; /* Subtle orange top-bar accent */
}

/* Header Text */
.login-header h2 {
    color: #1e4620; /* Deep forest green */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form Fields */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e4620;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

/* Field highlight when clicking into it (Orange focus ring) */
.input-group input:focus {
    border-color: #f27000;
    box-shadow: 0 0 0 3px rgba(242, 112, 0, 0.15);
}

/* Layout for checking boxes and links */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 25px;
}

.remember-me {
    color: #555555;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Customizing checking box color to match green */
.remember-me input[type="checkbox"] {
    accent-color: #1e4620;
    width: 16px;
    height: 16px;
}

.forgot-link, .form-footer a {
    color: #d46000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link:hover, .form-footer a:hover {
    color: #1e4620;
    text-decoration: underline;
}

/* Primary Button Design (Bold Orange) */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #f27000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* Button hover flips cleanly into Green */
.btn-login:hover {
    background-color: #153317;
}

.btn-login:active {
    transform: scale(0.98);
}

/* Card footer text */
.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666666;
}
/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --green: #1b5e20;
    --orange: #e65100;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

/* Navbar container background styling */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--green);
}

.nav-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styling */
.logo a {
    text-decoration: none;
}
.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--green);
}
.logo-sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--orange);
}

/* Menu Links Styling */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

/* Student/Staff Portal Button */
.btn-portal {
    background-color: var(--green);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease !important;
}

.btn-portal:hover {
    background-color: var(--orange);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}