.absence {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
    background: var(--belyy);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.absence__message {
    font-weight: 500;
    font-size: (16px, 12.86px + 0.36vw, 18px);
    line-height: 150%;
    color: var(--chernyy);
}

.absence__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.absence__num-label {
    display: block;
    margin-bottom: 5px;
}

.absence__num-action {
    display: flex;
    align-items: center;
}

.absence__num-input {
    border: 2px solid var(--temno-belyy);
    padding: 10px;
    flex: 1;
    font-weight: 500;
    font-size: clamp(15px, 12.86px + 0.36vw, 18px);
    line-height: 140%;
}

.absence__num-btn {
    padding: 15px;
    background: var(--firmennyy);
    font-weight: 500;
    font-size: clamp(15px, 12.86px + 0.36vw, 18px);
    line-height: 140%;
    color: var(--belyy);
    height: 100%;
}

.absence__location-block.location-block {
    max-width: 100%;
}

@media (min-width: 768px) {
    .absence {
        display: grid;
        grid-template-columns: repeat(2, auto);
        column-gap: 20px;
    }

    .absence__num-label {
        margin-bottom: 10px;
    }
    .absence__num-action {
        height: 55px;
    }

    .absence__num-input {
        border: 3px solid var(--temno-belyy);
        padding: 15px;
        max-height: 100%;
    }

    .absence__num-btn {
        padding: 20px;
    }
}

@media (min-width: 1200px) {
    .absence {
        display: flex;
    }
}
