/* General Reset */
html {
    font-family: 'Metropolis-Regular', "Segoe UI", Helvetica Neue, Helvetica, sans-serif;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}



/* Form Styling */
form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Ensure labels are aligned to the left */
form .form-group {
    display: flex;
    flex-direction: column; /* Stack label and input vertically */
    align-items: flex-start; /* Align to the left */
    margin-bottom: 15px; /* Add spacing between form groups */
}

form .form-group label {
    font-weight: bold; /* Optional: Make labels bold for better readability */
    margin-bottom: 5px; /* Add spacing between the label and the input */
    text-align: left; /* Align text inside label to the left */
    width: 100%; /* Ensure the label spans the full width */
}


input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #0056b3;
}

.alert {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Container Styling */
/* .container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    box-sizing: border-box;
    text-align: center;
    margin: 50px auto;
} */

/* Navigation Bar */
.nav {
    display: flex;
    position: fixed;
    width: 100%;
    min-height: 50px;
    z-index: 1000;
    box-shadow: 0 4px 2px -2px gray;
    background-color: white;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-button {
    display: inline-flex;
    height: 50px;
    min-width: 50px;
    color: rgb(48, 48, 48);
    font-weight: 500;
    padding: 0 20px;
    text-decoration: none;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.nav-button:hover {
    color: #9f9f9f;
}

.nav-button:active {
    color: #5c5c5c;
}

.nav-left {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-logo {
    max-height: 50px;
    margin-right: 20px;
}

/* Dropdown Menu */
.dropdown {
    display: inline-flex;
    position: relative;
}

.dropdown:hover {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 50px;
    border-top: 1px solid #dadada;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Profile Icon */
.profile-icon {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 2px solid #dadada;
    background-color: black;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sidebar */
#sidebar {
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #f5f5f5;
    box-shadow: 0 0 8px 2px gray;
    transition: 0.5s;
    padding-top: 60px;
}

/* Responsive Adjustments */
@media screen and (max-width: 1100px) {
    .nav-button {
        padding: 0 10px;
    }

    .nav-left {
        margin-left: 20px;
    }

    .nav-right {
        margin-right: 20px;
    }
}

@media screen and (max-width: 800px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-nav-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-logo {
        margin: 0 auto;
    }

    .nav-right, .nav-left {
        margin: 0 auto;
    }

    .dropdown-content {
        right: 0;
    }
}

.register-section {
    margin-top: 20px; /* Adds space above the section */
    text-align: center; /* Centers the text */
    font-size: 16px; /* Optional: Adjust font size */
}

.register-section a {
    color: #007BFF; /* Blue link color */
    text-decoration: none; /* Removes underline from the link */
    font-weight: bold; /* Makes the link stand out */
}

.register-section a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline; /* Adds underline on hover */
}
