/* /Components/Pages/Overlay/OverlayEditor.razor.rz.scp.css */
[b-0ixxb4mf0g] .editor-root {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #1e1e2e;
    color: #cdd6f4;
    font-size: 13px;
    overflow: hidden;
}

[b-0ixxb4mf0g] .editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: #181825;
    border-bottom: 1px solid #313244;
    gap: 8px;
    flex-wrap: wrap;
}

[b-0ixxb4mf0g] .toolbar-left, [b-0ixxb4mf0g] .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-0ixxb4mf0g] .toolbar-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

[b-0ixxb4mf0g] .toolbar-info {
    color: #a6e3a1;
    font-size: 12px;
    min-width: 100px;
}

/* Per-venue URLs for the assigned slot (design-system tokens) */
[b-0ixxb4mf0g] .editor-urlbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 4px 12px 8px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

[b-0ixxb4mf0g] .url-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 420px;
    min-width: 0;
}

[b-0ixxb4mf0g] .url-field label {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}

[b-0ixxb4mf0g] .url-field input {
    flex: 1;
    min-width: 0;
    font-family: 'Roboto Mono', 'Courier New', monospace;
}

[b-0ixxb4mf0g] .zoom-controls {
    gap: 2px !important;
}

[b-0ixxb4mf0g] .zoom-label {
    min-width: 36px;
    text-align: center;
    font-size: 12px;
    color: #a6adc8;
    user-select: none;
}

[b-0ixxb4mf0g] .editor-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

[b-0ixxb4mf0g] .editor-sidebar-left {
    width: 200px;
    background: #181825;
    border-right: 1px solid #313244;
    overflow-y: auto;
    flex-shrink: 0;
}

[b-0ixxb4mf0g] .editor-sidebar-right {
    width: 260px;
    background: #181825;
    border-left: 1px solid #313244;
    overflow-y: auto;
    flex-shrink: 0;
}

[b-0ixxb4mf0g] .editor-canvas-container {
    flex: 1;
    overflow: auto;
    background: #11111b;
    padding: 20px;
}

[b-0ixxb4mf0g] .editor-canvas {
    position: relative;
    background: #2a2a3a;
    outline: 2px solid #89b4fa;
}

[b-0ixxb4mf0g] .editor-canvas-inner {
    width: 1920px;
    height: 1080px;
    position: relative;
    background-image:
        linear-gradient(45deg, #252535 25%, transparent 25%),
        linear-gradient(-45deg, #252535 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #252535 75%),
        linear-gradient(-45deg, transparent 75%, #252535 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

[b-0ixxb4mf0g] .editor-element {
    cursor: move;
    outline: 1px solid transparent;
    user-select: none;
}

[b-0ixxb4mf0g] .editor-element:hover {
    outline: 1px dashed #585b70;
}

[b-0ixxb4mf0g] .editor-element.selected {
    outline: 2px solid #89b4fa;
}

[b-0ixxb4mf0g] .resize-handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #89b4fa;
    border: 1px solid #1e1e2e;
    z-index: 9999;
}

[b-0ixxb4mf0g] .rotate-handle-line {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 1px;
    height: 30px;
    background: #89b4fa;
    pointer-events: none;
    z-index: 9999;
}

[b-0ixxb4mf0g] .rotate-handle {
    position: absolute;
    top: -42px;
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a6e3a1;
    border: 2px solid #1e1e2e;
    cursor: grab;
    z-index: 9999;
}

[b-0ixxb4mf0g] .rotate-handle:hover {
    background: #f9e2af;
}

[b-0ixxb4mf0g] .pinch-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f9e2af;
    border: 2px solid #1e1e2e;
    cursor: crosshair;
    z-index: 10000;
}

[b-0ixxb4mf0g] .pinch-handle:hover {
    background: #fab387;
    transform: scale(1.3);
}

[b-0ixxb4mf0g] .skew-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fab387;
    border: 2px solid #1e1e2e;
    transform: rotate(45deg);
    cursor: pointer;
    z-index: 10000;
}

[b-0ixxb4mf0g] .skew-handle:hover {
    background: #f9e2af;
    transform: rotate(45deg) scale(1.3);
}

[b-0ixxb4mf0g] .edge-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #cba6f7;
    cursor: pointer;
    z-index: 10000;
}

[b-0ixxb4mf0g] .edge-handle:hover {
    background: #f5c2e7;
}

[b-0ixxb4mf0g] .edge-handle[data-edge="top"] {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

[b-0ixxb4mf0g] .edge-handle[data-edge="bottom"] {
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

[b-0ixxb4mf0g] .edge-handle[data-edge="left"] {
    clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
}

[b-0ixxb4mf0g] .edge-handle[data-edge="right"] {
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

[b-0ixxb4mf0g] .panel-header {
    padding: 6px 10px;
    background: #313244;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a6adc8;
    border-bottom: 1px solid #45475a;
}

[b-0ixxb4mf0g] .prop-section {
    padding: 8px 10px;
    border-bottom: 1px solid #313244;
}

[b-0ixxb4mf0g] .prop-section label {
    display: block;
    font-size: 11px;
    color: #6c7086;
    margin-top: 4px;
    margin-bottom: 2px;
}

[b-0ixxb4mf0g] .prop-grid {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 2px 6px;
    align-items: center;
}

[b-0ixxb4mf0g] .prop-grid label {
    margin: 0;
    text-align: right;
}

[b-0ixxb4mf0g] .toolbox {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[b-0ixxb4mf0g] .element-list {
    overflow-y: auto;
    max-height: 400px;
}

[b-0ixxb4mf0g] .element-list-item {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    cursor: pointer;
    border-bottom: 1px solid #313244;
    gap: 6px;
}

[b-0ixxb4mf0g] .element-list-item:hover {
    background: #313244;
}

[b-0ixxb4mf0g] .element-list-item.selected {
    background: #45475a;
}

[b-0ixxb4mf0g] .element-list-item.drag-over {
    border-top: 2px solid #89b4fa;
}

[b-0ixxb4mf0g] .element-list-item[draggable="true"] {
    cursor: grab;
}

[b-0ixxb4mf0g] .element-list-item[draggable="true"]:active {
    cursor: grabbing;
    opacity: 0.6;
}

[b-0ixxb4mf0g] .el-type {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    background: #585b70;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

[b-0ixxb4mf0g] .el-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

[b-0ixxb4mf0g] .btn-zorder {
    background: none;
    border: none;
    color: #6c7086;
    font-size: 10px;
    cursor: pointer;
    padding: 0 1px;
    line-height: 1;
}

[b-0ixxb4mf0g] .btn-zorder:hover {
    color: #89b4fa;
}

[b-0ixxb4mf0g] .btn-dup {
    background: none;
    border: none;
    color: #a6e3a1;
    font-size: 14px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

[b-0ixxb4mf0g] .btn-dup:hover {
    color: #94e2d5;
}

[b-0ixxb4mf0g] .btn-del {
    background: none;
    border: none;
    color: #f38ba8;
    font-size: 16px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
}

[b-0ixxb4mf0g] .btn-del:hover {
    color: #ff0000;
}

/* Form controls dark theme */
[b-0ixxb4mf0g] .form-control, [b-0ixxb4mf0g] .form-select {
    background: #313244 !important;
    border-color: #45475a !important;
    color: #cdd6f4 !important;
    font-size: 12px !important;
}

[b-0ixxb4mf0g] .form-control:focus, [b-0ixxb4mf0g] .form-select:focus {
    border-color: #89b4fa !important;
    box-shadow: none !important;
}

[b-0ixxb4mf0g] .form-control-color {
    padding: 2px !important;
    height: 28px !important;
}

/* Shown instead of the editor while access is checked, or when it is refused */
.editor-gate[b-0ixxb4mf0g] {
    max-width: 520px;
    margin: 80px auto;
    padding: 24px;
    color: #ddd;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
}
.editor-gate h4[b-0ixxb4mf0g] { margin-bottom: 8px; }
.editor-gate .btn[b-0ixxb4mf0g] { margin-right: 6px; }
/* /Components/Pages/Overlay/OverlayRenderer.razor.rz.scp.css */
[b-gawnia78e9] .overlay-canvas {
    position: relative;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background: transparent;
}

[b-gawnia78e9] .overlay-element {
    pointer-events: none;
}

[b-gawnia78e9] .overlay-text-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

[b-gawnia78e9] .overlay-text {
    line-height: 1;
}

[b-gawnia78e9] .overlay-shape {
    pointer-events: none;
}

[b-gawnia78e9] img {
    display: block;
}

:host[b-gawnia78e9] {
    margin: 0;
    padding: 0;
    background: transparent;
}
