body {
    margin: 0;
    padding: 0;
    background: #f8f9fc;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    color: #374151;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    width: 380px;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.logo {
    font-weight: 800;
    font-size: 32px;
    color: #3F4BFC;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -1px;
}

.fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.label {
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: -18px;
}

.input {
    transition: all 0.2s ease;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    height: 48px;
    background: #fcfcfd;
    border-radius: 12px;
    border: 1px solid #ebedf5;
    outline: none;
    color: #374151;
    font-size: 14px;
}

.input:focus {
    background: #ffffff;
    border-color: #3F4BFC;
    box-shadow: 0 0 0 4px rgba(63, 75, 252, 0.1);
}

.login-btn {
    transition: all 0.2s ease;
    width: 100%;
    height: 52px;
    margin-top: 10px;
    background: linear-gradient(135deg, #3F4BFC 0%, #5661fa 100%);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(63, 75, 252, 0.2);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(63, 75, 252, 0.3);
}

.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); }
}
