/**
 * Ponlac Card Print - Style (Final Fortress Edition)
 */

:root {
    --accent: #38bdf8; /* Ponlac Cyan */
    --bg: #0f172a;
    --panel: #1e293b;
    --border: #334155;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --warning: #f59e0b;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    overflow: hidden;
    display: flex;
}

/* Sidebar & Controls */
.sidebar {
    width: 340px;
    background: var(--panel);
    border-right: 1px solid var(--border);
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Preview Stage */
.preview-stage {
    flex: 1;
    background: #334155;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding: 40px;
}

.sheet-a4 {
    width: 210mm;
    height: 297mm;
    background: white;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* Field Boxes (VDP Slots) */
.field-box {
    position: absolute;
    border: 1px solid transparent;
    cursor: move;
    transition: outline 0.1s ease;
}

.field-box.selected {
    outline: 2px dashed var(--accent);
    outline-offset: 2px;
    background: rgba(56, 189, 248, 0.05);
}

.field-box.error {
    outline: 2px solid var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.field-box.warning {
    outline: 2px solid var(--warning);
}

/* Dummy/Placeholder display */
.dummy-text {
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.6;
}

/* B&W Mode Filter */
.bw-mode .sheet-a4 {
    filter: grayscale(100%) contrast(110%);
}

/* Tooltips/Badges */
.badge-pro {
    background: #b45309;
    color: #fef3c7;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-secondary { background: var(--bg); color: var(--text-main); border: 1px solid var(--border); }
