/* =========================
GLOBAL BACKGROUND
========================= */
body {
    background:
    radial-gradient(circle at top left, rgba(255,122,0,0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(220,38,38,0.12), transparent 35%),
    #0a0a0a;
}

/* =========================
PANELS
========================= */
.panel {
    background: rgba(17,24,39,0.82);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Panel headings */
.panel-title {
    color: #ff7a00;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

/* =========================
MINI CARDS
========================= */
.mini-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

/* =========================
BUTTONS
========================= */
.action-btn {
    transition: all 0.18s ease;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255,122,0,0.2);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255,122,0,0.2);
}

/* =========================
TURF MAP
========================= */

#turf-map {
    width: 100%;
    max-width: 1100px;
    height: 65vh;
    max-height: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    cursor: grab;
}

#turf-map:active {
    cursor: grabbing;
}

#turf-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 6144px;
    height: 6144px;
transform-origin: 0 0;
}

#turf-stage img {
    position: absolute;
    width: 6144px;
    height: 6144px;
    user-select: none;
    pointer-events: none;
}

#turf-overlay {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto;
}

.turf-rect {
    pointer-events: all;
    cursor: pointer;
}

#turf-tooltip {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    background: rgba(15, 20, 30, 0.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translate(12px, 12px);
    transition: opacity 0.12s ease;
}

/* =========================
FORM INPUTS
========================= */
.input {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    color: #fff;
    width: 100%;
    transition: border 0.15s ease;
}

.input:focus {
    outline: none;
    border-color: #ff7a00;
}

/* =========================
ERROR BOX
========================= */
.error-box {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.4);
    color: #fca5a5;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
}