body {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form input {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
    width: 100%;
}

.login-form input:focus {
    outline: none;
    border-color: #1623aa;
    box-shadow: 0 0 0 3px rgba(22, 35, 170, 0.1);
}

.login-form .btn {
    width: 100%;
    height: 44px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.login-message {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.login-message.show {
    opacity: 1;
    transform: translateY(0);
}

.login-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.login-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-form input,
    .login-form .btn {
        padding: 12px;
    }
}