/* General styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    background-color: #f5f5f5;
    width: calc(100% - 20px);
    margin: 0 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header h2 {
    margin: 0;
    font-weight: bold;
    margin-left: 150px;
    font-size: 1.5em;
    color: #003087;
}
header .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 87px;
}
.logo {
    width: 200px;
    height: 87px;
}
header .right-buttons {
    margin-right: 20px;
}
header .right-buttons a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f7c948;
    color: #000;
    transition: background-color 0.3s;
}
header .right-buttons a:hover {
    background-color: #e0b33e;
}

/* Container and form styling */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.login-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}
.login-form h3 {
    color: #003087;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.5em;
}
.form-group {
    margin-bottom: 15px;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}
.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.form-group input[type="submit"] {
    background-color: #003087;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}
.form-group input[type="submit"]:hover {
    background-color: #00205b;
}

/* Password toggle styling */
#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-25%);
    background: #003087;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
#togglePassword:hover {
    background: #00205b;
}

/* Error message styling */
.error {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}