body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

h1 {
    color: #2a6496;
    text-align: center;
    margin-bottom: 20px;
}

a {
    color: #337ab7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #235a81;
}

form {
    width: 100%; /* Ensure form takes full width of the container */
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    display: flex;
    flex-direction: column;
    text-align: left;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

button, .button {
    width: 100%;
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 2px rgba(0,0,0,0.19), 0 3px 3px rgba(0,0,0,0.26);
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

button:hover, .button:hover {
    background-color: #449d44;
}

p {
    text-align: center;
    margin-top: 15px;
}

.error {
    color: red;
    text-align: center;
}
