:host {
    position: absolute;
    margin: 15px 30px;
    width: calc(100% - 60px);
    bottom: 0px;
    height: 100px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter';
    color: black;
    text-align: center;
    background-image: url('/img/bgm.svg');
    background-color: var(--mobius-blue);
    background-size: cover;
    justify-content: space-evenly;
    opacity: 0;
}

:host(.hidden) {
    z-index: 0;
    opacity: 0;
    animation: FadeOut 500ms ease;
}

:host(.show) {
    z-index: 100;
    opacity: 1;
    animation: FadeIn 200ms ease;
}

#card_title {
    font-size: 18px;
    font-weight: bold;
}

#output_id {
    font-size: 18px;
    width: 80%;
    overflow-wrap: break-word;
    font-weight: 600;
}

#output_status {
    font-size: 14px;
    display: inline-block;
    background-color: lightblue;
    border-radius: 10px;
    padding: 2px 10px;
}


/*Couleur de la pop-up*/
:host(.validated) {
    background-color: lightgreen;
}

:host(.offline) {
    background-color: rgb(139, 142, 139);
}

:host(.error) {
    background-color: lightcoral;
}

:host(.error)>#output_status {
    background-color: pink;
    color: red;
}

:host(.warning) {
    background-color: lightgoldenrodyellow;
}

:host(.warning)>#output_status {
    background-color: lightyellow;
    color: black;
}


/*Fermeture de la pop-up*/
icon-svg#closecard {
    display: none;
    top: 12px;
    right: 12px;
    position: absolute;
    cursor: pointer;
    zoom: 0.85;
}

:host(.warning) icon-svg#closecard,
:host(.error) icon-svg#closecard {
    display: inline-block;
}

/* hour of the last duplicate scan */
span.time {
    font-weight: 600;
    letter-spacing: 1px;
}

#icon {
    width: 20px;
    height: 20px;
}