body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    width: 328px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.11);
    padding: 45px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 30px;
    color: #3f4cff;
    margin-bottom: 35px;
    text-align: center;
}

.fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.label {
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 10px;
    color: #505050;
    margin-bottom: -14px;
    margin-left: 0px;
}

.input {
    transition: background 0.25s ease, color 0.25s ease;
    padding-left: 12px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    height: 30px;
    background: #f2f2f2;
    border-radius: 10px;
    border: none;
    outline: none;
    color: #000000;
    font-size: 12px;
    text-align: left;
}

.login-btn {
    transition: background 0.25s ease, color 0.25s ease;
    width: 42%;
    height: 35px;
    margin-top: 0px;
    background: #3F4CFF;
    border-radius: 10px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.login-btn:hover {
    opacity: 0.9;
}

.error-container {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.error {
    min-width: 180px;
    max-width: 80%;
    padding: 5px 10px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(148, 0, 0, 0.5);
    border: 1px solid #FF0000;
    border-radius: 15px;

    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;

    opacity: 0;
    animation: fadeIn 0.4s ease forwards, fadeOut 0.4s ease forwards 2.6s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(10px); }
}
