.tc-group-wrap .tc-group-content .tc-seat-row {
    position: relative;
}

.tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    pointer-events: none;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    color: #1d2939;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label-left {
    left: -20px;
}

.tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label-right {
    right: -20px;
}

body.post-type-tc_seat_charts .tc-group-wrap .tc-group-content {
    overflow: visible;
}

body.post-type-tc_seat_charts .tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label {
    color: #111111;
}

.tc_seating_map .tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label {
    color: #0f172a;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label {
        font-size: 11px;
    }

    .tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label-left {
        left: -16px;
    }

    .tc-group-wrap .tc-group-content .tc-seat-row > .tcsc-row-edge-label-right {
        right: -16px;
    }
}

body.post-type-tc_seat_charts #tcsc-row-label-controls {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

body.post-type-tc_seat_charts #tcsc-row-label-controls h5 {
    margin: 0 0 8px;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-row {
    margin-top: 8px;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-row-label-sides {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-actions {
    display: flex;
    gap: 8px;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-actions button {
    flex: 1;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls .tcsc-grid .tc-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.post-type-tc_seat_charts #tcsc-row-label-controls input[type="number"],
body.post-type-tc_seat_charts #tcsc-row-label-controls select,
body.post-type-tc_seat_charts #tcsc-row-label-controls input[type="color"] {
    width: 100%;
    box-sizing: border-box;
}
