/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    flex-direction: column; /* Align content vertically */
}

h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8em; /* Adjust font size */
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center; /* Center form content */
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

p {
    color: red;
    text-align: center;
    font-size: 14px;
}

/* Login and Signup Specific Styles */
.login-signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.login-signup-container a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.login-signup-container a:hover {
    text-decoration: underline;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    form {
        max-width: 100%;
        padding: 15px;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    input[type="text"], input[type="password"], button {
        font-size: 14px;
    }
}

/* Logout page styles */
.logout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.logout-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.logout-container p {
    color: green;
    font-size: 18px;
    margin-bottom: 20px;
}

.logout-container button {
    background-color: #28a745;
    font-size: 16px;
}

.logout-container button:hover {
    background-color: #218838;
}

