/* General body styling with background image */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url('https://i.imgur.com/hF3AktG.jpg') center center/cover no-repeat fixed;
    color: #444;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Dark overlay */
    z-index: -1; /* Keep the overlay behind content */
}

/* Main content area */
main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Top Bar with Social Media & Contact Info */
.top-bar {
    background-color: #CC0000;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: center; /* Centers the content */
    align-items: center;
    gap: 900px; /* Adds space between contact info and social icons */
    font-size: 14px;
    min-height: 30px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Contact Info Styling */
.top-bar .contact-info {
    display: flex;
    gap: 10px;
}

.top-bar .social-icons {
    display: flex;
    gap: 15px;
}

.top-bar .social-icons a:hover {
    color: #f4f4f4;
}

/* Main Navigation Bar with Logo */
.main-nav {
    background-color: #fff;
    padding: 0px 0;
}

.main-nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav .logo {
    max-width: 250px;
    margin-right: 50px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    display: inline-block;
}

.main-nav ul li a {
    color: #444;
    font-weight: bold;
    padding: 10px 20px;
}

.main-nav ul li a:hover {
    color: #CC0000;
}

/* Styling for the login section */
#login {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    margin: 50px auto;
}

#login input[type="text"], #login input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f2f2f2;
    color: #333; /* Dark grey text for input fields */
}

#login input[type="submit"] {
    padding: 10px 20px;
    background-color: #CC0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

#login input[type="submit"]:hover {
    background-color: #E57373;
}

/* Specific styling for the 'Forgot your password?' link */
#login a {
    color: #007bff; /* Set the link color to blue */
    text-decoration: none;
}

#login a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Input container for the reset password inputs */
.input-container {
    display: flex;
    justify-content: space-between; /* Spaces out input fields horizontally */
    gap: 10px; /* Adds space between the inputs */
    margin: 10px 0; /* Adds spacing around the input group */
}

.input-container input {
    width: 40px; /* Adjust input field width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f2f2f2;
    text-align: center; /* Center the text in the input */
}

/* Footer Styling */
.footer {
    background-color: #444;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 5px 0;
    color: white;
}
