.login {
    padding: 15px;
    background: #292929;
    border-radius: 8px;
    color: white;
    width: 60%;
    height: 40%;
    align-self: center;
    max-width: 400px;
    box-sizing: border-box;
    font-family: sans-serif;   
}

.form-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.form-title {
    color: white;
    font-size: 26px;
    text-align: center;
    margin: 0 0 8px 0;
    font-family: sans-serif;
    width: 100%;
}

.error-message {
    color: red;
    font-size: 18px;
    text-align: center;
    min-height: 20px;
    margin-bottom: 16px;
    width: 100%;
}

.form-content input {
    appearance: none;
    -webkit-appearance: none;
    background: #363636;
    outline: none;
    border: 2px solid transparent;
    border-radius: 8px;
    color: white;
    padding: 12px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.11s ease-in, background 0.35s ease;
}

.form-content input:focus {
    border-color: #3b82f6 !important;
    background: #334257;
}

.form-content input:hover {
    border-color: #3b82f6 !important;
    background: #334257;
}

.form-content input:-webkit-autofill,
.form-content input:-webkit-autofill:hover,
.form-content input:-webkit-autofill:focus,
.form-content input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 50px #334257 inset !important;
    box-shadow: 0 0 0 50px #334257 inset !important;
    border: 2px solid #3b82f6 !important;
    outline: none !important;
    caret-color: #3b82f6;
}

.submit-btn {
    background: #363636;
    color: gray;
    outline: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 6px;
    margin-top: 10px;
    transition: background 0.35s ease, border 0.11s ease-in, transform 0.1s ease;
}

.submit-btn:hover {
    border-color: #3b82f6 !important;
    background: #334257;
    color: #5796fa;
}

.submit-btn:active {
    transform: scale(0.95);
}

body {
    background-color: #242424;
    display: flex;
    margin: 0;
    justify-content: center;
    align-items: center;
}