input[type="time"].form-control {
    width: auto;
    display: inline-block;
    min-width: 100px;
    max-width: 150px;
}

.flatpickr-wrapper {
    width: 100% !important;
}

.flatpickr-input.form-control {
    padding-right: 2.2rem;
    width: 195px !important;
}

.flatpickr-calendar-icon {
    position: absolute;
    left: 145px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--bs-body-color);
    pointer-events: auto;
    cursor: pointer;
}

.required-icon {
    vertical-align: baseline;
}

.required-icon i {
    padding-right: 0.3rem;
    color: #ff9100;
    cursor: pointer;
}

label + span.required-icon i {
    padding-left: 5px;
    color: #ff9100;
    cursor: pointer;
}

.required-hint {
    width: 100%;
    display: block;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: unset;
    background: unset;
    padding: unset;
    border: unset;
    border-radius: unset;
    box-shadow: unset;
}

.required-hint.active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    opacity: 1;
    max-height: 500px;
}

.required-hint-fixed {
    opacity: 1;
    max-height: none;
    overflow: visible;
    font-size: 0.9rem;
    color: #6c757d;
}

.console-gate-phone-actions-wrap .formutils-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.console-gate-phone-actions-wrap > .console-gate-phone-actions-wrap {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    padding: 0;
}

.console-gate-phone-actions-wrap .formutils-buttons-group .console-gate-phone-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.2;
}

.console-gate-phone-actions-wrap .formutils-buttons-group .btn-outline-primary.console-gate-phone-btn {
    border-color: #b9c9dc;
    color: #315172;
    background: #f8fbff;
}

.console-gate-phone-actions-wrap .formutils-buttons-group .btn-outline-primary.console-gate-phone-btn:hover,
.console-gate-phone-actions-wrap .formutils-buttons-group .btn-outline-primary.console-gate-phone-btn:focus {
    border-color: #7ea2c9;
    color: #23425f;
    background: #eef5fc;
}

@media (max-width: 575.98px) {
    body, .form-control, .form-select, .form-label, .form-check-label {
        font-size: 1rem;
    }

    .required-hint-fixed {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .console-gate-phone-actions-wrap .formutils-buttons-group .console-gate-phone-btn {
        min-height: 44px;
        border-radius: 12px;
    }
}

.formutils-check-input {
    margin-right: 0.5rem;
}

input.formutils-readonly,
textarea.formutils-readonly ,
select.formutils-readonly ,
.formutils-readonly .flatpickr-input {
    background-color: #e2e2e2;
    cursor: not-allowed;
}

.formutils-disabled,
.formutils-disabled input,
.formutils-disabled textarea,
.formutils-disabled select,
.formutils-disabled .form-check-input,
.formutils-disabled .flatpickr-input {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.flatpickr-wrapper.formutils-readonly .flatpickr-calendar-icon,
.flatpickr-wrapper.formutils-disabled .flatpickr-calendar-icon {
    color: #6c757d;
    pointer-events: none;
}

button.formutils-disabled {
    pointer-events: none;
}

