html,body {
    margin: 0;
    padding: 0; 
    height: 100%;
}

body { 
    display: flex;
    align-items: center;
    justify-content: center;
}

.box {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #4269f5;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.dot {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    height: 15px;
    width: 15px;
    border-radius: 100%;
    background-color: red;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}