/* assets/css/admin-styles.css */

/* =========================
   ADMIN PANELS & FORM STYLES
   ========================= */

/* Player admin panel */
#playerAdminPanel {
    display: none;
}

/* Admin panels common */
.admin-panel {
    display: none;
    margin-top: 10px;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Radius control panel */
#radiusControlPanel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.95);
    color: var(--text-main);
    padding: 15px;
    border-radius: 8px;
    z-index: 1001;
    width: 280px;
    display: none;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Chain admin panel */
#chainAdminPanel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: rgba(0,0,0,0.95);
    color: var(--text-main);
    padding: 20px;
    border-radius: 8px;
    z-index: 1002;
    width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid var(--green-neon);
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Heatmap controls */
#heatmapControls {
    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 1000;
    display: none;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--accent);
    width: 180px;
}

/* Heatmap intensity display */
#heatmapIntensityValue {
    color: var(--text-main);
    font-size: 12px;
}

/* Field controls */
#field-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.field-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(227, 157, 5, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.field-btn:hover {
    background: rgba(227, 157, 5, 0.2);
    transform: scale(1.1);
}

.field-btn.active {
    background: rgba(227, 157, 5, 0.3);
    color: #fff;
    border-color: var(--accent);
}

/* Panel content collapsed state */
.panel-content.collapsed {
    max-height: 0;
    opacity: 0;
}

/* News and calendar admin controls */
#newsAdminControls, #scheduleAdminControls {
    display: none;
}

/* Format buttons for editors */
.format-btn {
    padding: 5px 10px;
    background: rgba(227, 157, 5, 0.2);
    border: 1px solid rgba(227, 157, 5, 0.3);
    color: #e39d05;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.format-btn:hover {
    background: rgba(227, 157, 5, 0.3);
}

/* Primary buttons */
.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--accent-bright);
}

/* Profile message */
#profileMsg {
    margin-top: 10px;
    color: green;
}
