/* --- Base --- */
#smv-app-container {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: #333;
    z-index: 10; 
    position: relative;
    box-sizing: border-box;
}

.smv-header { text-align: center; margin-bottom: 30px; }
.smv-header h2 { color: #E6205C; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.smv-progress { display: flex; justify-content: space-between; max-width: 300px; margin: 20px auto; position: relative; }
.smv-progress::before { content:''; position: absolute; top: 50%; left:0; right:0; height:2px; background:#eee; z-index:0; }
.smv-step-dot { width: 35px; height: 35px; background: #fff; border: 2px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1; font-weight: bold; color: #aaa; transition: all 0.3s; }
.smv-step-dot.active { border-color: #E6205C; background: #E6205C; color: #fff; transform: scale(1.1); }

/* --- FORMULAIRE --- */
.smv-section-title {
    font-size: 1.2em; font-weight: bold; color: #E6205C; 
    border-bottom: 2px solid #FDEBF2; padding-bottom: 5px; margin-bottom: 15px;
}

.smv-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.smv-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }

.smv-form-group { margin-bottom: 15px; }
.smv-form-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9em; }
.smv-form-group small { font-weight: normal; color: #666; }
.smv-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-size: 14px; }

/* Activities Grid */
.smv-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.smv-checkbox-item {
    display: flex; align-items: center; gap: 8px; font-size: 0.9em; cursor: pointer;
}
.smv-checkbox-item input {
    width: 16px; height: 16px; accent-color: #E6205C; cursor: pointer;
}

/* MAP & SCROLL */
.smv-map-wrapper { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    padding: 20px 0; 
    background: #fdfdfd; 
    border-radius: 8px; 
    border: 1px solid #eee;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
}

.smv-scroll-hint { display: none; text-align: center; color: #888; margin-bottom: 5px; font-style: italic; }
@media (max-width: 1100px) { .smv-scroll-hint { display: block; } }

.smv-map-grid {
    display: grid;
    grid-template-columns: repeat(140, 10px);
    grid-template-rows: repeat(100, 10px); 
    gap: 0; 
    min-width: 1400px; 
    margin: 0 auto;
}

/* BOOTH STYLES */
.smv-booth {
    background: #FDEBF2; border: 1px solid #E6205C;
    color: #333; font-size: 10px; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; user-select: none; transition: 0.1s;
    position: relative;
    /* Z-Index élevé pour passer au dessus du Bar/Podium */
    z-index: 10; 
}
.smv-booth:hover { transform: scale(1.05); z-index: 100; box-shadow: 0 5px 15px rgba(230,32,92,0.3); }

.smv-booth.booked { background: #eee; border-color: #ccc; color: #aaa; pointer-events: none; }
.smv-booth.partial-booked {
    background: linear-gradient(90deg, #ccc 50%, #FDEBF2 50%);
    border-color: #999;
}
.smv-booth.selected, .smv-booth.preview { background: #E6205C; color: #fff; }
.smv-booth.half-select, .smv-booth.preview-half {
    background: linear-gradient(90deg, #ccc 50%, #E6205C 50%);
    color: #fff; text-shadow: 1px 1px 0 #000;
}

/* Special Items - POINTER EVENTS NONE FIX */
.smv-bar { background: #E6E6E6; border-color: #999; color: #555; pointer-events: none; z-index: 1; }
.smv-podium { background: #E6205C; color: #fff; pointer-events: none; z-index: 1; }
.smv-access { background: #FFFF00; border-color: #000; font-size: 9px; pointer-events: none; opacity: 0.8; z-index: 1; }

.smv-size-selector { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.smv-size-btn { padding: 10px 20px; border: 2px solid #eee; border-radius: 30px; cursor: pointer; text-align: center; min-width: 80px; transition: 0.2s; }
.smv-size-btn:hover, .smv-size-btn.active { border-color: #E6205C; color: #E6205C; background: #FFF0F5; }
.smv-size-btn.active { background: #E6205C; color: #fff; }

.smv-options-list { margin: 20px 0; width: 100%; }
.smv-opt-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; gap: 10px; }
.smv-total-bar { text-align: right; font-size: 1.5em; font-weight: bold; color: #333; margin: 20px 0; padding: 20px; background: #fafafa; border-radius: 8px; }

.smv-actions { display: flex; justify-content: space-between; margin-top: 30px; flex-wrap: wrap; gap: 10px; }
.smv-btn { background: #E6205C; color: #fff; padding: 12px 30px; border: none; border-radius: 30px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.smv-btn:hover { background: #c2184e; transform: translateY(-2px); }
.smv-btn.secondary { background: #888; }
.smv-btn:disabled { background: #ddd; cursor: not-allowed; transform: none; }
.smv-tooltip { text-align: center; color: #E6205C; font-weight: bold; height: 20px; margin-top: 10px; }
.smv-success { text-align: center; padding: 50px; }