/* Main headline */
#headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--headline-color);
    padding: 16px 32px;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    height: var(--headline-height);
    top: 0;
    z-index: 101;
    box-shadow: var(--box-shadow);
}

/* Logo at the left of the headline */
.logo-headline {
    width: 5rem;
    height: 5rem;
    background-image: var(--logo-img-url);
    background-size: contain;
    background-repeat: no-repeat;
}

/* Headline btn container at the right */
#headline-btns {
    display: flex;
    align-items: center;
}

.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.select-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.headline-schedule-content-container {
    display: flex;
    height: 100%;
    pointer-events: none;
}

.warning-icon {
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 0.2rem;
}

.warning-icon::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--icon-color);
    -webkit-mask-image: url(../icons/warning-circle.svg);
    mask-image: url(../icons/warning-circle.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.computation-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border-color);
    background-color: var(--button-background-color);
    border-radius: 1rem;
    margin: 0.2rem;
    transition: all 0.3s ease;
    opacity: 0.2;
}

.computation-status::after {
    content: "";
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--icon-color);
    -webkit-mask-image: url(../icons/hourglass.svg);
    mask-image: url(../icons/hourglass.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.computation-status.active {
    opacity: 1;
    animation: hourglass-spin 3s linear infinite;
    box-shadow: 0 0 8px var(--icon-color);
}

@keyframes hourglass-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}