.mc-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; font-family: 'Plus Jakarta Sans', sans-serif; }
.mc-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mc-subtitle { color: #4a51ff; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.mc-page-header h2 { font-size: 2rem; font-weight: 800; color: #0f172a; margin: 4px 0 0 0; }
.mc-btn-add { background: #4a51ff; color: #fff; border: none; padding: 12px 24px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.mc-btn-add:hover { background: #0f172a; }

.mc-grid-coasters { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.mc-coaster-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.mc-coaster-card.fermé { border-top: 4px solid #ef4444; }
.mc-coaster-card.ouvert { border-top: 4px solid #10b981; }
.mc-coaster-card.en-maintenance { border-top: 4px solid #f59e0b; }

.mc-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mc-card-head h3 { font-size: 1.1rem; font-weight: 800; margin: 0; color: #0f172a; }
.mc-status-badge { font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.mc-status-badge.status-ouvert { background: #ecfdf5; color: #065f46; }
.mc-status-badge.status-fermé { background: #fef2f2; color: #991b1b; }
.mc-status-badge.status-en-maintenance { background: #fffbeb; color: #92400e; }

/* LAYOUT DE LA GALERIE EN BOXES ET PREMIER PLAN */
.mc-extended-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; min-height: 50px; }
.mc-gallery-wrapper-box { display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; width: 75px; background: #f8fafc; }
.mc-gallery-wrapper-box.is-main-featured { border-color: #fbbf24; background: #fffdf5; box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15); }

.mc-gallery-thumb-container { position: relative; width: 100%; height: 50px; }
.mc-gallery-thumb-container img { width: 100%; height: 100%; object-fit: cover; }

.mc-delete-photo-link { position: absolute; top: 2px; right: 2px; background: rgba(239, 68, 68, 0.9); color: white; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; text-decoration: none; font-weight: bold; }
.mc-gallery-actions-bar { padding: 4px; text-align: center; border-top: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; min-height: 18px; }

.mc-badge-main-display { font-size: 0.58rem; font-weight: 800; color: #b45309; display: flex; align-items: center; gap: 2px; }
.mc-link-set-main { font-size: 0.58rem; text-decoration: none; color: #64748b; font-weight: 700; }
.mc-link-set-main:hover { color: #4a51ff; }
.mc-no-photo-label { font-size: 0.78rem; color: #94a3b8; font-style: italic; }

.mc-card-specs { display: flex; flex-direction: column; gap: 8px; font-size: 0.88rem; color: #64748b; margin-bottom: 20px; }
.mc-card-specs div { display: flex; justify-content: space-between; border-bottom: 1px dashed #f1f5f9; padding-bottom: 4px; }
.mc-card-specs strong { color: #334155; }

.mc-card-actions { display: flex; gap: 10px; border-top: 1px solid #f1f5f9; padding-top: 16px; }
.mc-btn-edit { flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; padding: 8px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 0.82rem; }
.mc-btn-edit:hover { background: #e2e8f0; }
.mc-btn-delete { background: #fff5f5; border: 1px solid #fee2e2; color: #ef4444; padding: 8px 12px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mc-btn-delete:hover { background: #ef4444; color: #fff; }

.mc-modal { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(15,23,42,0.4); backdrop-filter:blur(3px); z-index:9999; display:none; align-items:center; justify-content:center; }
.mc-modal-box { background:#fff; border-radius:24px; padding:32px; width:100%; max-width:550px; }
.mc-modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.mc-modal-header h3 { font-size: 1.25rem; margin:0; font-weight:800; }
.mc-close { background:none; border:none; font-size:1.8rem; cursor:pointer; color:#94a3b8; }
.mc-form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.mc-group { display:flex; flex-direction:column; gap:6px; }
.mc-group label { font-size:0.82rem; font-weight:700; color:#475569; }
.mc-input { width:100%; padding:10px 14px; border:1px solid #cbd5e1; border-radius:8px; font-family:inherit; box-sizing:border-box; background:#f8fafc; }
.mc-input:focus { outline:none; border-color:#4a51ff; background:#fff; }
.mc-btn-submit { width:100%; background:#0f172a; color:#fff; border:none; padding:12px; font-weight:700; border-radius:10px; cursor:pointer; margin-top:24px; }
.mc-btn-submit:hover { background:#4a51ff; }
.mc-success-alert { background:#f0fdf4; color:#166534; padding:12px; border-radius:10px; margin-bottom:20px; font-weight:600; text-align:center; font-size:0.9rem; }