.fg-tagify-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.fg-tagify {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #fff;
    cursor: text;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fg-tagify:focus-within {
    border-color: #115baa;
    box-shadow: 0 0 0 4px rgba(17, 91, 170, 0.1);
}

.fg-tagify-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 6px 9px 6px 11px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #115baa;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.fg-tagify-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 91, 170, 0.12);
    color: #115baa;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.fg-tagify-input {
    flex: 1 1 150px;
    min-width: 120px;
    border: 0;
    outline: 0;
    padding: 6px 2px;
    background: transparent;
    color: #0f172a;
}

.fg-tagify-input::placeholder {
    color: #7b8797;
}

.fg-tagify-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 1070;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #e2eaf4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.fg-tagify.is-open .fg-tagify-dropdown {
    display: block;
}

.fg-tagify-option,
.fg-tagify-empty {
    padding: 10px 12px;
    font-size: 14px;
}

.fg-tagify-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #25364d;
    cursor: pointer;
}

.fg-tagify-option:hover,
.fg-tagify-option.is-active {
    background: #f3f8ff;
    color: #115baa;
}

.fg-tagify-option.is-selected {
    color: #5f738c;
}

.fg-tagify-check {
    color: #63b63d;
    font-weight: 800;
}

.fg-tagify-empty {
    color: #7b8797;
}
