/* Variables */
:root {
    --primary:     #8ED2C1;
    --secondary:   #E096A4;
    --accent:      #FFE8C6;
    --bg:          #FEF7E5;
    --text:        #4B5563;
    --border:      #E5E7EB;
    --radius-card: 12px;
    --radius-btn:  8px;
    --shadow:      0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', Inter, sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--text);
}

h1 em, h2 em {
    font-style: normal;
    color: var(--secondary);
}

/* Layout */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}
.container--wide {
    max-width: 100%;
    padding: 0 1.5rem;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.header-admin-link {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    opacity: 0.6;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: #fff;
}
.header-admin-link:hover { opacity: 1; background: var(--bg); }

.site-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Boutons */
button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

button:active { transform: scale(0.97); }

form button[type="submit"] {
    background: var(--primary);
    color: #fff;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
}

form button[type="submit"]:hover { opacity: 0.88; }

/* Home */
h1 { font-size: 2rem; margin-bottom: 0.75rem; }
p  { line-height: 1.6; color: var(--text); }

/* Sessions récentes */
.recent-sessions-title {
    margin-top: 2rem;
    font-weight: 600;
    color: var(--text);
}

.recent-sessions-list {
    list-style: none;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 0.75rem 1rem;
}

.session-link {
    flex: 1;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.session-link:hover { color: var(--secondary); }

.session-link { display: flex; flex-direction: column; gap: 0.1rem; }
.session-date  { font-size: 0.75rem; color: var(--text-light, #888); font-weight: 400; }

.session-delete {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 6px;
    opacity: 0.5;
}

.session-delete:hover { opacity: 1; }

.session-delete--confirm {
    border-color: var(--secondary);
    color: var(--secondary);
    opacity: 1;
}

/* Formulaire de création */
.create-form { margin-top: 1.5rem; }

.create-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.create-form-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.create-form input[type="number"] {
    width: 5rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 1rem;
    text-align: center;
    background: #fff;
    color: var(--text);
}

.create-form button[type="submit"] {
    margin-top: 0;
}

.create-name-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 1rem;
    background: #fff;
    color: var(--text);
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

/* Vue admin — liste des boards */
.admin-boards-count {
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0.7;
}

.boards-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.board-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.board-label {
    flex: 1;
}
a.board-label-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}
a.board-label-link:hover {
    text-decoration: underline;
}

.board-status {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.6;
    flex: 1;
    text-align: center;
}

.board-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.board-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: border-color 0.15s;
}

.board-action-link:hover {
    border-color: var(--primary);
}

/* Zone de traitement d'un board */
#boards-process {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.board-process {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.25rem;
}

.board-process-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Modale QR code */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.share-modal-box {
    position: relative;
    background: #fff;
    border-radius: 1.2rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    max-width: 90vw;
}
.share-modal-title {
    margin: 0 0 1.5rem;
    font-size: 1.3rem;
    color: var(--text);
}
.share-modal-qr-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.share-modal-qr {
    width: clamp(160px, 70vw, 350px);
    height: auto;
    display: block;
    border-radius: 0.5rem;
}
.share-modal-copy-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-card);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}
.share-modal-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-card);
    padding: 0.5em 1.5em;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

/* OCR enrich */
.postit-enrich-list {
    margin: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.postit-enrich-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg, #f9f9f9);
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}
.postit-enrich-n {
    background: #e00;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 0.25rem;
    padding: 0.1em 0.45em;
    flex-shrink: 0;
}
.postit-enrich-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.9rem;
}
.postit-enrich-text strong {
    color: var(--primary, #e07b39);
}
.postit-enrich-pending {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
}

/* Page board admin */
.board-admin-page {
    padding: 1rem 0;
}
.board-display-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.board-display-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-card);
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}
.board-display-btn:hover { opacity: 0.85; }
.board-canvas-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.board-canvas-wrap canvas { display: block; width: 100%; }
.board-postits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Page display — plein écran */
body.page-display {
    margin: 0; padding: 0;
    background: #111;
    overflow: hidden;
    width: 100vw; height: 100vh;
}
body.page-display .container {
    max-width: none;
    margin: 0; padding: 0;
    width: 100vw; height: 100vh;
    overflow: hidden;
}
body.page-display header,
body.page-display footer { display: none; }

.board-wrap {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}
.board-img-wrap {
    position: relative;
    display: inline-block;
    transform-origin: 0 0;
    line-height: 0;
}
.board-img {
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
}
.display-box {
    position: absolute;
    border: 3px solid #f00;
    box-sizing: border-box;
}
.display-box-num {
    position: absolute;
    top: 0; left: 0;
    background: #f00;
    color: #fff;
    font-weight: 700;
    font-size: clamp(14px, 2vw, 28px);
    padding: 0.1em 0.35em;
    line-height: 1.2;
}

.board-display-btn--active {
    background: var(--secondary);
}

.board-vote-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.board-vote-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.board-vote-launch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.board-vote-launch label {
    font-weight: 600;
    color: var(--text);
}
.board-vote-launch input[type="number"] {
    width: 5rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 1rem;
    text-align: center;
    background: #fff;
    color: var(--text);
}
.board-display-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.vote-stats-bar-wrap { margin-top: 1rem; }
.vote-stats-participants {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.vote-stats-participants strong { color: var(--secondary); }
.vote-stats-empty { font-size: 0.9rem; opacity: 0.5; font-style: italic; }
.vote-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.vote-stats-table th {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--text);
}
.vote-stats-table td {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid var(--border);
}
.vote-stats-bar {
    position: relative;
    background: var(--border);
    border-radius: 4px;
    height: 1.4rem;
    min-width: 120px;
    overflow: hidden;
}
.vote-stats-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s;
}
.vote-stats-bar span {
    position: relative;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0 0.4rem;
    line-height: 1.4rem;
}
.vote-stats-row--confirmed td { background: #f0fdf4; }
.vote-stats-confirmed { color: #16a34a; font-weight: 600; font-size: 0.85rem; }
.vote-stats-pending   { color: #999;    font-size: 0.85rem; font-style: italic; }

/* ── Navigation inter-boards ── */
.board-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.board-nav-btn {
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: #fff;
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14rem;
}
.board-nav-btn:hover { background: var(--bg); }
.board-nav-home {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.55;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}
.board-nav-home:hover { opacity: 1; }

/* ── Post-it OCR specific ─────────────────────────────── */
.how-it-works {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted, #666);
    line-height: 1.8;
}
.result-section {
    margin: 2rem 0;
}
.result-section h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.result-crop-img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius-card);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}
.crop-interactive {
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: copy;
}
.crop-interactive .result-crop-img { pointer-events: none; }
.crop-zone {
    position: absolute;
    box-sizing: border-box;
    border: 2px solid rgba(255,80,80,0.7);
    cursor: copy;
    transition: background 0.12s;
}
.crop-zone:hover {
    background: rgba(255,80,80,0.15);
    border-color: #ff3030;
}
.crop-zone.img-copied {
    background: rgba(40,180,80,0.2);
    border-color: #28b450;
    outline: none;
}
.crop-zone-num {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255,80,80,0.8);
    border-radius: 3px;
    padding: 0 3px;
    line-height: 1.4;
    pointer-events: none;
}
.result-crop-link { display: inline-block; }
.ocr-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.ocr-line {
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: text;
    outline: none;
}
.ocr-line:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 80,120,255), 0.15);
}
.status-waiting {
    color: #aaa;
    font-style: italic;
}
.ocr-pending {
    margin-top: 1rem;
}
.admin-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.postit-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.postit-thumb-wrap {
    position: relative;
    text-align: center;
}
.postit-thumb {
    display: block;
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: opacity 0.15s;
}
.copyable-img { cursor: pointer; }
.copyable-img:hover { opacity: 0.85; }
.copyable-img.img-copied { outline: 3px solid var(--primary); opacity: 1; }
.result-crop-img.copyable-img { display: block; }
.postit-thumb-num {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}
.postit-camera-preview {
    width: 100%;
    background: #000;
    border-radius: var(--radius-card);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.postit-camera-preview img,
.postit-camera-preview video {
    max-width: 100%;
    max-height: 60vh;
    display: block;
}
.postit-camera-placeholder {
    color: #fff;
    text-align: center;
    padding: 2rem;
    opacity: 0.7;
}
.postit-camera-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.postit-btn-capture {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    cursor: pointer;
}
.postit-btn-import {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #666;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    align-self: center;
}
.postit-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}
.postit-btn-primary:hover { filter: brightness(1.08); }
.postit-btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}
.postit-btn-secondary:hover { background: #f5ede0; }
.postit-step { margin-bottom: 1rem; }
.postit-crop-area {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: #000;
}
.postit-crop-area canvas {
    display: block;
    max-width: 100%;
    cursor: crosshair;
}
.postit-detect-status {
    margin: 0.5rem 0;
    color: #666;
    font-style: italic;
}
.postit-detect-hint {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}
.photo-sent {
    text-align: center;
    padding: 3rem 1rem;
}
.photo-sent h2 { color: var(--primary); }
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.share-modal-box {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-card);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 320px;
    width: 90%;
}
.share-modal-title { margin-bottom: 1rem; }
.share-modal-qr { width: 200px; height: 200px; display: block; margin: 0 auto 1rem; }
.share-modal-copy-btn,
.share-modal-close {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--bg);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}
.session-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.session-link { flex: 1; color: var(--primary); text-decoration: none; }
.session-delete {
    border: none;
    background: none;
    cursor: pointer;
    color: #bbb;
    font-size: 0.9rem;
    padding: 0.25rem;
}
.session-delete--confirm { color: var(--secondary); }
.recent-sessions-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}
.recent-sessions-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ── Multi-slots ──────────────────────────────────────────── */
.space-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.space-name {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}
.btn-rename-space {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.6;
}
.btn-rename-space:hover { opacity: 1; }

.slots-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.slot-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1rem 1.25rem;
}
.slot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.slot-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}
.slot-toggle {
    cursor: pointer;
    user-select: none;
}
.slot-toggle:hover { background: #f8f9fa; border-radius: 6px; }
.slot-toggle-arrow {
    font-size: 0.7rem;
    color: #aaa;
    margin-right: 0.4rem;
    transition: transform 0.15s;
}
.slot-phase-badge {
    font-size: 0.85rem;
    margin-left: 0.4rem;
    flex-shrink: 0;
}
.slot-body {
    padding-top: 0.75rem;
}
.slot-actions {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin-left: auto;
}
.btn-slot-rename {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-light, #888);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-slot-rename:hover { background: #f0f4ff; border-color: var(--primary); }
.btn-slot-delete {
    background: none;
    border: 1px solid var(--border);
    color: var(--secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-slot-delete:hover { background: #fde8ed; border-color: var(--secondary); }
.btn-slot-delete-confirm {
    background: #e02020 !important;
    border-color: #e02020 !important;
    color: #fff !important;
    transition: background 0.1s;
}

.slot-status-text { font-size: 0.9rem; }

.slot-add-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.slot-add-form input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}
.slot-add-form input[type="text"]:focus { outline: none; border-color: var(--primary); }
#btn-slot-add {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
#btn-slot-add:hover { filter: brightness(1.08); }

/* Page photo — choix de slot */
.slots-choices {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.slot-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-card);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.slot-choice:hover { background: var(--bg); }
.slot-choice.slot-done {
    border-color: var(--border);
    cursor: default;
    opacity: 0.6;
}
.slot-choice.slot-done:hover { background: #fff; }
.slot-choice-name {
    font-weight: 700;
    color: var(--text);
}
.slot-choice-status {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
}
