* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* DEV CONTROLS */
.dev-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    gap: 8px;
}

.dev-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.dev-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.anim-state {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #aaa;
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: monospace;
    backdrop-filter: blur(8px);
}

/* MOCKUP WRAPPER */
.mockup-wrapper {
    width: 100%;
    max-width: 860px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

/* TOP BAR */
.app-topbar {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.app-search {
    flex: 1;
    max-width: 280px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    color: #888;
    outline: none;
}

.app-toolbar {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.app-chip {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.app-chip svg {
    width: 10px;
    height: 10px;
}

/* MISSION HEADER */
.mission-header {
    padding: 10px 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mission-sort {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mission-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.mission-icons {
    display: flex;
    gap: 5px;
    margin-left: 4px;
}

.mission-icon-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 10px;
    color: white;
}

.mission-icon-btn.green {
    background: #00b09b;
}

.mission-icon-btn.teal {
    background: #14b8a6;
}

.mission-icon-btn.dark {
    background: #374151;
}

.mission-count {
    font-size: 10px;
    color: #888;
    margin-left: 4px;
}

/* KANBAN BOARD */
.kanban-board {
    padding: 8px 16px 16px;
    overflow-x: auto;
    display: flex;
    gap: 0;
}

.kanban-col {
    flex: 1;
    min-width: 90px;
    padding: 4px 6px;
}

.kanban-col-header {
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
}

.kanban-col.col-source .kanban-col-header {
    border-bottom-color: #6366f1;
}

.kanban-col.col-active .kanban-col-header {
    border-bottom-color: #00b09b;
}

.col-title {
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-count {
    font-size: 9px;
    color: #9ca3af;
    text-align: center;
    margin-top: 1px;
}

/* Candidates */
.kanban-candidates {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 180px;
    position: relative;
}

.candidate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: grab;
    transition: opacity 0.2s ease;
}

.candidate-card.dragging {
    opacity: 0.12;
}

.candidate-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background: #e5e7eb;
    flex-shrink: 0;
}

.candidate-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.candidate-name {
    font-size: 8.5px;
    color: #374151;
    text-align: center;
    max-width: 62px;
    line-height: 1.2;
    font-weight: 500;
}

/* Add button */
.add-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    font-size: 20px;
    font-weight: 300;
}

/* Drop indicator */
.col-drop-indicator {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px dashed transparent;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
    pointer-events: none;
}

.kanban-col.drop-active .col-drop-indicator {
    border-color: #00b09b;
    background: rgba(0, 176, 155, 0.06);
}

/* DRAG GHOST */
.drag-ghost {
    position: fixed;
    pointer-events: none;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    transition: opacity 0.15s ease;
}

.drag-ghost.visible {
    opacity: 1;
}

.drag-ghost .candidate-avatar {
    border: 2px solid #00b09b;
    box-shadow: 0 6px 20px rgba(0, 176, 155, 0.35);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 300;
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b09b;
    flex-shrink: 0;
}
