.lodge-time-source {
    display: none !important;
}

.lodge-time-control {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.12rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.lodge-time-control.form-control {
    display: flex;
}

.lodge-time-control.form-control:focus-within {
    color: var(--bs-body-color, #212529);
    background-color: var(--bs-body-bg, #fff);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.lodge-time-control .lodge-time-date,
.lodge-time-control .lodge-time-part {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.lodge-time-control .lodge-time-date {
    flex: 1 1 8rem;
    min-width: 4.5rem;
    padding: 0;
}

.lodge-time-control .lodge-time-part {
    padding: 0 0.08rem;
    cursor: pointer;
}

.lodge-time-control .lodge-time-hour,
.lodge-time-control .lodge-time-minute {
    flex: 0 0 2.55rem;
}

.lodge-time-control .lodge-time-period {
    flex: 0 0 3.2rem;
}

.lodge-time-control .lodge-time-separator {
    flex: 0 0 auto;
    color: inherit;
    line-height: 1;
}

.lodge-time-control .lodge-time-date:focus,
.lodge-time-control .lodge-time-part:focus {
    box-shadow: none;
}

.lodge-time-control.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.lodge-time-control.is-invalid {
    border-color: #dc3545;
}

.lodge-time-control.is-invalid:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

@media (max-width: 360px) {
    .lodge-time-control {
        gap: 0.04rem;
    }

    .lodge-time-control .lodge-time-hour,
    .lodge-time-control .lodge-time-minute {
        flex-basis: 2.2rem;
    }

    .lodge-time-control .lodge-time-period {
        flex-basis: 2.85rem;
    }
}
