.resizable-table {
    table-layout: fixed;
    width: max-content;
}

.resizable-table-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    background: #f4f9ff;
    color: #24476b;
    font-size: 14px;
    line-height: 1.35;
}

.resizable-table-hint__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
}

.resizable-table > thead > tr > th {
    position: relative;
}

.resizable-table > thead > tr > th .table-column-resizer {
    position: absolute;
    top: 0;
    right: -5px;
    z-index: 5;
    width: 10px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
    user-select: none;
}

.resizable-table > thead > tr > th .table-column-resizer::after {
    position: absolute;
    top: 12%;
    right: 4px;
    width: 2px;
    height: 76%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    content: "";
    transition: background-color 0.15s ease, box-shadow 0.15s ease, width 0.15s ease;
}

.resizable-table > thead > tr > th .table-column-resizer::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    color: rgba(255, 255, 255, 0.8);
    content: "↔";
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    text-align: center;
    transform: translateY(-50%);
    transition: opacity 0.15s ease;
}

.resizable-table > thead > tr > th .table-column-resizer:hover::after,
.resizable-table > thead > tr > th .table-column-resizer.is-resizing::after {
    width: 3px;
    background: #7fb3ff;
    box-shadow: 0 0 0 3px rgba(127, 179, 255, 0.22);
}

.resizable-table > thead > tr > th .table-column-resizer:hover::before,
.resizable-table > thead > tr > th .table-column-resizer.is-resizing::before {
    opacity: 1;
}

body.is-resizing-table-column,
body.is-resizing-table-column * {
    cursor: col-resize !important;
    user-select: none !important;
}

@media (max-width: 576px) {
    .resizable-table-hint {
        align-items: flex-start;
    }
}
