.arrow-header-title {
    font-family: 'Quantico', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 3px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    padding: 0 16px;
    cursor: default;
    transition: color 0.2s ease;
}
.arrow-header-title::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 16px;
    border-left: 1px solid #0f172a;
    border-right: 1px solid #0f172a;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.2s ease;
}
.arrow-header-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: #0f172a;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.arrow-header-title:hover::before,
.arrow-header-title.selected::before {
    transform: scaleY(1);
}
.arrow-header-title:hover::after,
.arrow-header-title.selected::after {
    transform: scaleX(1);
}



.arrow-header-line.horizontal {
    flex: 2;
    height: 1px;
    background: #0f172a;
}



.header-arrow-right.circle::after {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #0f172a;
    border-radius: 50%;
}
.header-arrow-left.circle::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #0f172a;
    border-radius: 50%;
}
.header-arrow-right.arrow::after {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid #0f172a;
}
.header-arrow-left.arrow::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 8px solid #0f172a;
}
.header-arrow-left,
.header-arrow-right {
    flex: 1;
    height: 1px;
    background: #0f172a;
    position: relative;
}
.arrow-header-horizontal {
    display: flex;
    align-items: center;
    width: 100%;
}



.header-arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #0f172a;
}
.header-arrow-up::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #0f172a;
}
.header-arrow-up,
.header-arrow-down {
    width: 1px;
    height: auto;
    flex: 1;
    background: #0f172a;
    position: relative;
}
.arrow-header-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}



.arrow-header-diagonal svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
    pointer-events: none;
}
.arrow-header-diagonal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}



.drop-zone arrow-header {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.arrow-header-diagonal .header-arrow-start,
.arrow-header-diagonal .header-arrow-bottom-br,
.arrow-header-diagonal .header-arrow-bottom-bl {
    display: none;
}


arrow-header[data-role="categories-topics"] .arrow-header-horizontal {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: space-between !important;
}
arrow-header[data-role="categories-topics"] .header-arrow-left,
arrow-header[data-role="categories-topics"] .header-arrow-right {
    flex: 1 !important;
    min-width: 50px !important;
}
arrow-header[data-role="categories-topics"] .arrow-header-line {
    flex: 0 0 525px !important;
    display: flex !important;
}
arrow-header[data-role="categories-topics"] .arrow-header-title {
    flex: 0 0 auto !important;
}

arrow-header[direction="vertical"] .arrow-header-title::before,
arrow-header[direction="vertical"] .arrow-header-title::after {
    left: auto !important;
}

arrow-header[direction="vertical"] .arrow-header-title::after {
    left: 0 !important;
    right: auto !important;
    top: -1px !important;
    bottom: -1px !important;
    width: 1px !important;
    height: auto !important;
    background: #0f172a !important;
    transform: scaleY(0) !important;
    transform-origin: center !important;
}

arrow-header[direction="vertical"] .arrow-header-title::before {
    left: 0 !important;
    right: auto !important;
    width: 62px !important;
    top: -1px !important;
    bottom: -1px !important;
    height: auto !important;

    border-top: 1px solid #0f172a !important;
    border-bottom: 1px solid #0f172a !important;
    border-left: none !important;
    border-right: none !important;

    transform: scaleX(0) !important;
    transform-origin: right !important;
}

arrow-header[direction="vertical"] .arrow-header-title:hover::after,
arrow-header[direction="vertical"] .arrow-header-title.selected::after {
    transform: scaleY(1) !important;
}

arrow-header[direction="vertical"] .arrow-header-title:hover::before,
arrow-header[direction="vertical"] .arrow-header-title.selected::before {
    transform: scaleX(1) !important;
}