/* General Body and Font Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f4f9; /* Light grey background for the whole page */
    color: #333; /* Dark grey color for text */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation Styles */
nav {
    background-color: #007bff; /* Bright blue background for the navigation bar */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo strong {
    font-size: 24px; /* Larger font size for logo text */
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #cce5ff; /* Light blue for hover/focus state */
}

/* Header Styles */
header h1 {
    text-align: center;
    color: #007bff; /* Echoing the nav bar color for thematic consistency */
    margin: 20px 0;
}

/* Form Container */
.search-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px; /* Maximum width of form */
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue for button hover */
}

.error-message {
    color: #dc3545; /* Red color for error messages */
    text-align: center;
    margin-top: 10px;
}

p {
    text-align: center;
    margin-top: 20px;
}

p a {
    color: #007bff;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        padding: 10px 0;
    }
}
