/* General Page Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #e0f7fa;
    color: #333;
}

/* Container and Layout */
.container, .form-container, .profile-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
h1 {
    color: #004d40;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}
/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], button {
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #b2dfdb;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus {
    outline: none;
    border-color: #004d40;
}

button {
    background-color: #00796b;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004d40;
}

/* Profile Page */
.profile-container {
    max-width: 900px;
    margin-top: 50px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

.profile-header {
    background-color: #004d40;
    color: #ffffff;
    padding: 30px;
    text-align: center;
}

.profile-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.profile-header p {
    font-size: 18px;
    font-weight: 300;
}

.profile-picture {
    width: 150px;
    height: 150px;
    background-color: #b2dfdb;
    border-radius: 50%;
    border: 4px solid #ffffff;
    margin: -75px auto 0;
    position: relative;
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 40px;
    text-align: center;
}

.profile-info p {
    margin: 15px 0;
    font-size: 18px;
}

.profile-info .info-label {
    font-weight: bold;
    color: #00796b;
}

/* Action Links */
.profile-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #e0f2f1;
}

.profile-actions a {
    color: #00796b;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #00796b;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.profile-actions a:hover {
    background-color: #00796b;
    color: #ffffff;
}

/* Alerts and Messages */
.alert {
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #b2dfdb;
    border-radius: 4px;
    background-color: #e0f2f1;
    color: #004d40;
}

.error {
    background-color: #ffebee;
    border-color: #c62828;
    color: #c62828;
}

.success {
    background-color: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

/* Footer */
footer {
    background-color: #004d40;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

footer a {
    color: #b2dfdb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Side Navigation Bar */
.sidenav {
    background-color: #004d40; /* Teal background */
    color: #ffffff; /* White text */
    padding: 20px;
    width: 250px;
    height: 100vh; /* Full viewport height */
    position: fixed; /* Sticks the nav to the side */
    top: 0;
    left: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidenav ul {
    list-style-type: none; /* Remove bullets */
    padding: 0;
}

.sidenav li {
    margin-bottom: 20px; /* Space between links */
}

.sidenav a {
    text-decoration: none; /* Remove underline */
    color: #ffffff; /* White text */
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidenav a:hover {
    background-color: #00796b; /* Darker teal */
    color: #ffffff;
}
/* Banner Styling */
.site-banner {
    background-color: #ffffff;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Home Page Styling */
.home-container h1 {
    font-size: 36px;
    color: #00796b;
    margin-bottom: 20px;
    text-align: center;
}

.home-container p {
    font-size: 18px;
    text-align: center;
    color: #333;
}

.home-container a {
    color: #004d40;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #004d40;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-container a:hover {
    background-color: #004d40;
    color: #ffffff;
}
/* Horizontal Navigation Bar */
.navbar {
    background-color: #004d40; /* Teal background */
    color: #ffffff; /* White text */
    display: flex; /* Flexbox layout */
    justify-content: center; /* Center the menu items */
    padding: 10px 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; /* Sticky to the top on scroll */
    top: 0;
    z-index: 1000; /* Ensure it's above other content */
}

.navbar ul {
    list-style-type: none; /* Remove bullets */
    display: flex; /* Display items in a row */
    gap: 30px; /* Spacing between menu items */
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline; /* Inline items */
}

.navbar a {
    text-decoration: none; /* Remove underline */
    color: #ffffff; /* White text */
    font-size: 18px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar a:hover {
    background-color: #00796b; /* Darker teal */
    color: #ffffff;
}

/* Body Padding */
body {
    padding-top: 50px; /* Prevent content overlap with the sticky navbar */
}
.container {
    margin-left: 270px; /* Accounts for sidenav width and spacing */
    padding: 20px;
}
.navbar ul {
    justify-content: center; /* Ensure menu items remain centered */
}

.navbar li {
    margin: 0 10px; /* Adjust spacing for consistency */
}
