/* ═══ Kickando — Venue & Extra Styles ═══ */

/* ─── Venue Canvas ─── */
.fcm-venue-wrapper { display: grid; grid-template-columns: 1fr 240px; gap: 16px; }
.fcm-venue-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fcm-venue-canvas {
    position: relative; min-height: 600px; background: #f9fafb;
    border: 2px dashed #d1d5db; border-radius: 8px; overflow: hidden;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Venue Elements */
.fcm-venue-element {
    position: absolute; border-radius: 8px; cursor: move; color: #fff;
    font-size: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2);
    transition: box-shadow .15s; user-select: none;
    display: flex; flex-direction: column;
}
.fcm-venue-element:hover { box-shadow: 0 4px 16px rgba(0,0,0,.3); z-index: 10; }
.fcm-venue-drop-target { outline: 3px dashed #fff; outline-offset: -3px; }
.fcm-venue-el-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 8px; background: rgba(0,0,0,.2); flex-shrink: 0;
}
.fcm-venue-el-label { font-weight: 600; font-size: 11px; }
.fcm-venue-el-delete {
    background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer;
    font-size: 16px; line-height: 1; padding: 0 2px;
}
.fcm-venue-el-delete:hover { color: #fff; }
.fcm-venue-el-body { padding: 4px 8px; flex: 1; display: flex; align-items: center; }
.fcm-venue-team-name { font-size: 11px; font-weight: 500; opacity: .9; }
.fcm-venue-el-notes { padding: 2px 8px 4px; font-size: 9px; opacity: .7; }
.fcm-venue-el-resize {
    position: absolute; bottom: 0; right: 0; width: 14px; height: 14px;
    cursor: se-resize; background: rgba(255,255,255,.3);
    border-top-left-radius: 4px;
}
.fcm-venue-el-resize::after {
    content: ''; position: absolute; right: 3px; bottom: 3px;
    width: 6px; height: 6px; border-right: 2px solid rgba(255,255,255,.6);
    border-bottom: 2px solid rgba(255,255,255,.6);
}

/* Type-specific icons */
.fcm-venue-type-changing_room { border: 2px solid rgba(255,255,255,.3); }
.fcm-venue-type-pitch { border: 2px solid rgba(255,255,255,.3); }
.fcm-venue-type-parking { border: 2px solid rgba(255,255,255,.3); }

/* Sidebar */
.fcm-venue-sidebar {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;
    max-height: 600px; overflow-y: auto;
}
.fcm-venue-sidebar h3 { font-size: 14px; margin: 0 0 8px; color: #1e3a5f; }
.fcm-hint { font-size: 12px; color: #6B7280; margin-bottom: 12px; }
.fcm-venue-team-item {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px;
    margin-bottom: 6px; cursor: grab; font-size: 13px; transition: all .15s;
}
.fcm-venue-team-item:hover { background: #eff6ff; border-color: #3B82F6; }
.fcm-venue-team-item.fcm-dragging { opacity: .5; }
.fcm-venue-team-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 2px; }

/* ─── Modal ─── */
.fcm-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.5); z-index: 100000; display: flex;
    align-items: center; justify-content: center;
}
.fcm-modal-content {
    background: #fff; border-radius: 12px; width: 420px; max-width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.fcm-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid #e5e7eb;
}
.fcm-modal-header h3 { margin: 0; font-size: 16px; }
.fcm-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #6B7280; }
.fcm-modal-body { padding: 20px; }
.fcm-modal-body .fcm-form-group { margin-bottom: 12px; }
.fcm-modal-footer { padding: 16px 20px; border-top: 1px solid #e5e7eb; display: flex; gap: 8px; justify-content: flex-end; }

/* ─── Share Panel ─── */
.fcm-share-panel { margin-top: 20px; }
.fcm-share-panel h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: #1e3a5f; }
.fcm-share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.fcm-share-item { text-align: center; padding: 20px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; }
.fcm-share-item h4 { font-size: 13px; margin: 0 0 12px; color: #374151; }
.fcm-share-url { display: flex; gap: 4px; margin-top: 12px; }
.fcm-share-url-input { font-size: 11px !important; padding: 4px 8px !important; }
.fcm-copy-btn .dashicons { font-size: 14px; width: 14px; height: 14px; }

/* ─── PDF Export Buttons ─── */
.fcm-pdf-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 782px) {
    .fcm-venue-wrapper { grid-template-columns: 1fr; }
    .fcm-venue-sidebar { max-height: 200px; }
    .fcm-share-grid { grid-template-columns: 1fr; }
}
