
/* Header Styles */
.menu-bar {
    background-color: #00274d; /* Bright Blue background */
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-bar .logo-container {
    display: flex;
    align-items: center;
}

.menu-bar .logo {
    height: 50px;
}


.menu-bar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    
}


.menu-bar nav ul li {
    display: inline;
    
}

.menu-bar nav ul li a {
    color: white;
    text-decoration: none;
    background-color: #00274d;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.menu-bar nav ul li a:hover, 
.menu-bar nav ul li a.active {
    background-color:  #1a73e8; /* Dark Blue on hover/active */
    border-radius: 5px;
}

@media (max-width: 768px) {
    .menu-bar nav ul {
        flex-direction: column;
        align-items: center;
    }
}
/* Footer Styles */
.footer {
    background-color: #00274d; /* Navy Blue */
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    font-size: 14px;
    color: #f5f5f5;
}

.footer a {
    color: #ffc107; /* Amber color for links */
    text-decoration: none;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #d4af37; /* Gold on hover */
}

/* Ensure footer stays at the bottom even with little content */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Report Card Styling */

.container {
    width: 80%;
    margin: 0 auto;
    overflow:auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #021e36; /* Dark Blue for Headers */
    text-align: center;
    margin-bottom: 20px;
}

h1, h2 {
    color: #d93025; /* Red color */
    text-align: center;
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0057a3;
    color: #faf6f7;
    font-weight: bold;

}

td {
    background-color: #fdfdfe;
}

.student-result {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid #d93025; /* Bottom border to separate each student */
}

button {
    background-color: #ffeb3b; /* Yellow button color */
    color: #333;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

button:hover {
    background-color: #f9c02d; /* Darker yellow on hover */
}

/* Comment section styling */
th, td {
    font-size: 16px;
    line-height: 0.8;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    table, th, td {
        font-size: 14px;
    }

    h1, h2 {
        font-size: 20px;
    }
}


main {
    flex-grow: 1;
}

/* Media Queries for Responsive Footer */
@media (max-width: 768px) {
    .footer p {
        font-size: 12px;
    }
}


form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333333;
}

input[type="text"],input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f5f5f5;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,input[type="email"]:focus, input[type="date"]:focus,
textarea:focus {
    border-color: #1a73e8; /* Bright Blue on focus */
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #1a73e8; /* Bright Blue */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0057a3; /* Dark Blue */
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select option {
    padding: 10px;
}

/* Form Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    input[type="text"],input[type="email"],input[type="date"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 14px;
    }
}

/* Login Form Styles */
.container-login {
    max-width: 400px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container-login h1 {
    color: #0057a3;
    font-size: 24px;
}

.container-login form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container-login label {
    font-weight: bold;
    color: #333333;
}

.container-login input[type="text"],
.container-login input[type="password"],input[type="email"],input[type="date"] {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    font-size: 16px;
}

.container-login input[type="text"]:focus,
.container-login input[type="password"]:focus {
    border-color: #1a73e8;
    outline: none;
}

.container-login button[type="submit"] {
    background-color: #1a73e8;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.container-login button[type="submit"]:hover {
    background-color: #0057a3;
}

.container-login .error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    height: 100vh;
    overflow: hidden;
}


header {
    background-color: #00274d;
    color: #fff;
    padding: 15px 20px;
    text-align: left;
    font-size: 18px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #00274d;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}



.dashboard-nav {
    width: 260px;
    background-color: #00274d;
    color: #fff;
    padding: 20px;
    height: calc(100vh - 60px); /* Full height minus the header */
    position: fixed;
    top: 60px; /* Below the header */
    left: 0;
    overflow-y: auto; /* Enable scrolling for the navigation menu */
    border-right: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-nav ul {
    list-style-type: none;
}

.dashboard-nav ul li {
    margin-bottom: 20px;
}

.dashboard-nav ul li a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.dashboard-nav ul li a:hover, .dashboard-nav ul li a.active {
    background-color: #445574;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logout-button {
    background-color: #dc3545;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}

.logout-button:hover {
    background-color: #e74c3c;
}

.dashboard-content {
    margin-left: 260px; /* Leave space for the fixed navigation */
    height: calc(100vh - 120px); /* Account for header and footer */
    padding: 0; /* No padding for full iframe size */
    position: relative;
    background-color: #ffffff;
    overflow:auto;
}
iframe {
    position: relative; /* Keeps the iframe fixed in place */
    flex:1;
    top: 0; /* Adjust as needed */
    left: 0; /* Adjust as needed */
    width: 100%; /* Adjust as needed */
    height: 100%; /* Adjust as needed */
    border: none; /* Optional: Removes the border */
    overflow: auto; /* Makes the content scrollable */
}

/* Iframe Full Height and Full Width */
.dashboard-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    top: 0;
    left: 0;
    overflow:auto;
    background-color: #f9f9f9;
}

/* Scrollbar styling */
.dashboard-nav::-webkit-scrollbar,
#dashboard-iframe::-webkit-scrollbar {
    width: 8px;
}

.dashboard-nav::-webkit-scrollbar-thumb,
#dashboard-iframe::-webkit-scrollbar-thumb {
    background-color: #4f5d75;
    border-radius: 10px;
}

.dashboard-nav::-webkit-scrollbar-track,
#dashboard-iframe::-webkit-scrollbar-track {
    background-color: #ddd;
    border-radius: 10px;
}
