/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}
  
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #007BFF;
    outline: none;
}

button {
    width: 100%;
    padding: 14px;
    background-color: #007BFF;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Error message */
p {
    color: red;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}
/* Cancel Button Styling */
.cancel-button {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: #f44336;
    color: #fff;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.cancel-button:hover {
    background-color: #d32f2f;
}
/* Header and Navbar styles */
header {
    background-color: #022f58;
    color: #fff;
    padding: 10px 20px;
    width: 100%;
}

/* Navbar container (Flexbox) */
.navbar-container {
    display: flex;
    justify-content: space-between; /* Spread logo, menu, and logout */
    align-items: center;
}

/* Logo on the left */
.logo img {
    width: 90px; /* Adjust the logo size */
}
/* Navbar Media Query: On smaller screens, stack the logo, menu, and logout */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Animation for fading in the container */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 15px;
    }
}
