/* ============================================================
   WOUGGO V2 — pro-dashboard.css
   ============================================================ */
body{background:#FFF7ED;overflow-x:hidden}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar{position:fixed;top:0;left:0;width:60px;height:100vh;background:#fff;border-right:1px solid #E5E7EB;display:flex;flex-direction:column;align-items:center;padding:1rem 0;z-index:200}
.sidebar__logo{margin-bottom:1.25rem}
.sidebar__links{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.sidebar__bottom{margin-top:auto}
.sidebar__item{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;text-decoration:none;cursor:pointer;color:#9CA3AF;transition:background .15s,color .15s}
.sidebar__item:hover,.sidebar__item.active{background:#FFF7ED;color:#F97316}
.sidebar__item svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:768px){.sidebar{display:none}}

/* ── Page ────────────────────────────────────────────────── */
.page-wrap{margin-left:60px;min-height:100vh;background:#FFF7ED}
@media(max-width:768px){.page-wrap{margin-left:0;padding-bottom:64px}}

/* ── Header ──────────────────────────────────────────────── */
.dash-header{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1.25rem;background:#fff;border-bottom:1px solid #E5E7EB;position:sticky;top:0;z-index:100}
.dash-header__left{display:flex;align-items:center;gap:.75rem}
.dash-header__title{font-size:1.25rem;font-weight:700;color:#532822}
.dash-header__right{display:flex;align-items:center;gap:.5rem}

/* ── Niveaux badges ──────────────────────────────────────── */
.niveau-badge{padding:4px 10px;border-radius:999px;font-size:.8125rem;font-weight:700;color:#fff}
.badge-starter {background:#6B7280}
.badge-verifie {background:#10B981}
.badge-business{background:#F59E0B}

/* ── Body ────────────────────────────────────────────────── */
.dash-body{padding:1.25rem;max-width:900px}
.dash-section{background:#fff;border-radius:14px;border:1px solid #EDE8E2;padding:1.25rem;margin-bottom:1rem}
.dash-section__hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.dash-section__title{font-size:1rem;font-weight:700;color:#532822}

/* ── Skeleton ────────────────────────────────────────────── */
.dash-skeleton{padding:0}
.sk{background:linear-gradient(90deg,#EDE8E2 25%,#F5F0EA 50%,#EDE8E2 75%);background-size:200% 100%;animation:sk-sh 1.5s infinite;border-radius:8px}
@keyframes sk-sh{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ── Upgrade blocks ──────────────────────────────────────── */
.upgrade-block{display:flex;align-items:center;gap:1rem;background:#FFF7ED;border:1.5px solid #F97316;border-radius:14px;padding:1rem 1.25rem;margin-bottom:1rem}
.upgrade-block--gold{background:#FFFBEB;border-color:#F59E0B}
.upgrade-block__icon{font-size:2rem;flex-shrink:0}
.upgrade-block__text{flex:1}
.upgrade-block__text h3{font-size:.9375rem;font-weight:700;color:#532822;margin-bottom:.25rem}
.upgrade-block__text p{font-size:.8125rem;color:#7A5C58;line-height:1.4}
@media(max-width:500px){.upgrade-block{flex-direction:column;text-align:center}}

/* ── Stats ───────────────────────────────────────────────── */
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:.5rem}
.stat-card{background:#FFF7ED;border-radius:10px;padding:.875rem;text-align:center}
.stat-card__value{font-size:1.75rem;font-weight:700;color:#532822;margin-bottom:.25rem}
.stat-card__label{font-size:.75rem;color:#7A5C58;font-weight:500}
.stats-locked{font-size:.8125rem;color:#9CA3AF;font-style:italic}

/* ── Lieu cards ──────────────────────────────────────────── */
.lieu-card{display:flex;gap:.875rem;align-items:flex-start;background:#FFF7ED;border-radius:12px;padding:.875rem;margin-bottom:.625rem}
.lieu-card__img{width:72px;height:72px;border-radius:10px;overflow:hidden;flex-shrink:0;background:#E0D8D0}
.lieu-card__img img{width:100%;height:100%;object-fit:cover}
.lieu-card__ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:28px}
.lieu-card__body{flex:1;min-width:0}
.lieu-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.25rem}
.lieu-card__nom{font-size:.9375rem;font-weight:700;color:#532822}
.lieu-card__meta{font-size:.8125rem;color:#7A5C58;margin-bottom:.375rem}
.lieu-card__flash{font-size:.75rem;color:#F97316;font-weight:600;margin-bottom:.375rem}
.lieu-card__actions{display:flex;gap:.375rem;flex-wrap:wrap}

/* ── Événements ──────────────────────────────────────────── */
.event-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #F0EDE8}
.event-item:last-child{border-bottom:none}
.event-item__emoji{font-size:1.5rem;flex-shrink:0}
.event-item__body{flex:1;min-width:0}
.event-item__titre{font-size:.875rem;font-weight:600;color:#532822;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event-item__date{font-size:.75rem;color:#7A5C58}
.event-item__status{font-size:.75rem;font-weight:600;padding:3px 8px;border-radius:999px;flex-shrink:0}
.status-ok{background:#F0FDF4;color:#16A34A}
.status-wait{background:#FFF7ED;color:#D97706}

/* ── Demande ─────────────────────────────────────────────── */
.demande-card{background:#FFF7ED;border-radius:10px;padding:.875rem}
.demande-type{font-size:.9375rem;font-weight:700;color:#532822;margin-bottom:.25rem}
.demande-date{font-size:.8125rem;color:#7A5C58;margin-bottom:.375rem}
.demande-status{font-size:.8125rem;color:#D97706;font-weight:600}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state{text-align:center;padding:1.5rem;color:#7A5C58;font-size:.9375rem}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:300;display:flex;align-items:center;justify-content:center;padding:1rem;backdrop-filter:blur(4px)}
.modal-overlay.hidden{display:none}
.modal-content{background:#fff;border-radius:20px;padding:1.5rem;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 8px 40px rgba(0,0,0,.16)}
.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.modal-title{font-size:1.125rem;font-weight:700;color:#532822}
.modal-close{width:32px;height:32px;border:none;background:#F5F5F5;border-radius:50%;cursor:pointer;font-size:1rem;color:#532822;display:flex;align-items:center;justify-content:center}

.verif-note{background:#FFF7ED;border-radius:10px;padding:.75rem 1rem;font-size:.8125rem;color:#7A5C58;line-height:1.5}

/* Business modal */
.business-avantages{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.25rem}
.avantage{display:flex;align-items:flex-start;gap:.75rem}
.av-icon{font-size:1.25rem;flex-shrink:0;margin-top:.125rem}
.av-titre{font-size:.875rem;font-weight:700;color:#532822;margin-bottom:.125rem}
.av-sub{font-size:.75rem;color:#7A5C58}
.business-prix{background:#FFFBEB;border:1.5px solid #F59E0B;border-radius:12px;padding:1rem;text-align:center;margin-bottom:.5rem}
.bp-montant{font-size:1.75rem;font-weight:700;color:#532822}
.bp-montant span{font-size:1rem;font-weight:400;color:#7A5C58}
.bp-note{font-size:.8125rem;color:#7A5C58;margin-top:.25rem}

/* ── Alerts ──────────────────────────────────────────────── */
.pro-alert{padding:.75rem 1rem;border-radius:10px;font-size:.875rem;line-height:1.5}
.pro-alert.hidden{display:none}
.pro-alert--error{background:#FEF2F2;color:#DC2626;border:1px solid #FECACA}
.pro-alert--success{background:#F0FDF4;color:#16A34A;border:1px solid #BBF7D0}

/* ── Boutons ─────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.625rem 1.5rem;border-radius:10px;font-size:.9375rem;font-weight:600;font-family:inherit;cursor:pointer;border:none;transition:all .15s;text-decoration:none;white-space:nowrap}
.btn-primary{background:#F97316;color:#fff}
.btn-primary:hover{background:#EA6A00;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:#7A5C58;border:1.5px solid #E0D8D0}
.btn-ghost:hover{background:#F0EDE8}
.btn-full{width:100%}
.btn-lg{min-height:52px;font-size:1rem}
.btn-sm{min-height:36px;padding:.375rem .875rem;font-size:.8125rem}

/* ── Bottom nav ──────────────────────────────────────────── */
.bottom-nav{display:none}
@media(max-width:768px){.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid #E5E7EB;align-items:center;justify-content:space-around;z-index:200;padding-bottom:env(safe-area-inset-bottom)}}
.bottom-nav__item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;color:#9CA3AF;text-decoration:none;cursor:pointer;transition:color .15s}
.bottom-nav__item.active{color:#F97316}
.bottom-nav__label{font-size:10px;font-weight:500}
.bnav-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center}
.bnav-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav__item.active .bnav-icon svg{stroke:#F97316}
.bnav-center{position:relative}
.bnav-fab{width:52px;height:52px;background:#F97316;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:-16px;box-shadow:0 4px 16px rgba(249,115,22,.4)}
.bnav-fab svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

.form-input{width:100%;padding:.625rem 1rem;border:1.5px solid #E0D8D0;border-radius:10px;font-size:.9375rem;font-family:inherit;color:#532822;background:#fff;outline:none;transition:border-color .15s}
.form-input:focus{border-color:#F97316}
