/* ═══════════════════════════════════════════
   Encontro de Síndicos — Expositores CSS
   ═══════════════════════════════════════════ */

.ee-wrap { font-family: 'Segoe UI', Arial, sans-serif; max-width: 1200px; margin: 0 auto; padding: 0 12px 40px; }

/* HEADER */
.ee-header { background: linear-gradient(135deg, #1a3c5e 0%, #1f6faf 100%); border-radius: 14px; padding: 28px 32px; color: #fff; margin-bottom: 24px; }
.ee-header-title h2 { margin: 6px 0 4px; font-size: 24px; font-weight: 700; }
.ee-header-title p  { margin: 0; opacity: 0.85; font-size: 13px; }
.ee-badge { background: rgba(255,255,255,0.2); border-radius: 20px; padding: 3px 12px; font-size: 11px; font-weight: 700; letter-spacing: 2px; }

/* CARDS */
.ee-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.ee-card  { flex: 1 1 130px; border-radius: 12px; padding: 16px 20px; text-align: center; border: 2px solid; transition: transform .15s; }
.ee-card:hover { transform: translateY(-2px); }
.ee-card-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.ee-card-num   { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; }
.ee-card-total    { background:#d6e8f7; border-color:#1a3c5e; color:#1a3c5e; }
.ee-card-fechado  { background:#fdecea; border-color:#c0392b; color:#c0392b; }
.ee-card-reservado{ background:#fef3dc; border-color:#d4870a; color:#d4870a; }
.ee-card-livre    { background:#d6f0e4; border-color:#1a7a4a; color:#1a7a4a; }
.ee-card-ocup     { background:#d0f0f5; border-color:#0097a7; color:#0097a7; }

/* SECTION TITLE */
.ee-section-title { font-size: 16px; font-weight: 700; color: #1a3c5e; border-left: 4px solid #0097a7; padding-left: 12px; margin: 32px 0 16px; }

/* MAPA */
.ee-mapa { background: #f8fafc; border-radius: 12px; padding: 20px; border: 1px solid #e0e8f0; margin-bottom: 8px; }
.ee-mapa-entrada { text-align: center; font-weight: 700; color: #1a3c5e; background: #d6e8f7; border-radius: 8px; padding: 6px; margin-bottom: 12px; font-size: 13px; }
.ee-mapa-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ee-stand { border-radius: 8px; padding: 8px 10px; text-align: center; border: 2px solid; min-width: 80px; cursor: pointer; transition: all .2s; }
.ee-stand:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.ee-stand-num { display: block; font-weight: 800; font-size: 15px; }
.ee-stand-tam { display: block; font-size: 10px; opacity: 0.7; }
.ee-stand-emp { display: block; font-size: 10px; font-weight: 600; margin-top: 2px; word-break: break-word; }
.ee-stand-fechado   { background:#fdecea; border-color:#c0392b; color:#c0392b; }
.ee-stand-reservado { background:#fef3dc; border-color:#d4870a; color:#d4870a; }
.ee-stand-livre     { background:#d6f0e4; border-color:#1a7a4a; color:#1a7a4a; }
.ee-stand-palco     { background:#ede7f6; border-color:#6a1b9a; color:#6a1b9a; min-width:120px; font-weight:700; }
.ee-mapa-legenda { display: flex; gap: 16px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.ee-leg { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; border: 1.5px solid; }
.ee-leg-fechado   { background:#fdecea; border-color:#c0392b; color:#c0392b; }
.ee-leg-reservado { background:#fef3dc; border-color:#d4870a; color:#d4870a; }
.ee-leg-livre     { background:#d6f0e4; border-color:#1a7a4a; color:#1a7a4a; }

/* FILTROS */
.ee-filtros { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.ee-filtros input { padding: 8px 14px; border-radius: 8px; border: 1.5px solid #ccc; font-size: 13px; outline: none; min-width: 220px; }
.ee-filtros input:focus { border-color: #0097a7; }
.ee-filtro-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.ee-filtro-btn { padding: 7px 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: 700; font-size: 12px; background: #e8edf4; color: #444; transition: all .15s; }
.ee-filtro-btn.active, .ee-filtro-btn:hover { background: #1a3c5e; color: #fff; }
.ee-count { font-size: 12px; color: #888; margin-left: auto; }

/* TABELA */
.ee-tabela-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.ee-tabela { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.ee-tabela thead tr { background: #0097a7; color: #fff; }
.ee-tabela thead th { padding: 12px 14px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.ee-tabela tbody tr { border-bottom: 1px solid #eee; transition: background .25s, border-left .25s; }
.ee-tabela tbody tr:last-child { border-bottom: none; }
.ee-tabela td { padding: 10px 14px; vertical-align: middle; }
.ee-td-stand { font-weight: 800; color: #1a3c5e; font-size: 15px; text-align: center; }
.ee-row-fechado   { background:#fdecea !important; border-left: 4px solid #c0392b; }
.ee-row-reservado { background:#fef3dc !important; border-left: 4px solid #d4870a; }
.ee-row-livre     { background:#d6f0e4 !important; border-left: 4px solid #1a7a4a; }
.ee-row-hidden    { display: none; }
.ee-status-select { border-radius: 6px; font-weight: 700; font-size: 12px; padding: 4px 8px; border: 1.5px solid #ccc; cursor: pointer; outline: none; transition: all .2s; }
.ee-status-badge  { font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.ee-badge-fechado   { background:#fdecea; color:#c0392b; }
.ee-badge-reservado { background:#fef3dc; color:#d4870a; }
.ee-badge-livre     { background:#d6f0e4; color:#1a7a4a; }
.ee-tabela a { color: #0097a7; text-decoration: none; }
.ee-tabela a:hover { text-decoration: underline; }

/* FORMULÁRIO */
.ee-form-wrap { background: #f8fafc; border-radius: 14px; padding: 28px; border: 1px solid #e0e8f0; }
.ee-form-intro { color: #555; margin-bottom: 20px; font-size: 14px; }
.ee-form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ee-form-group { flex: 1 1 200px; display: flex; flex-direction: column; gap: 5px; }
.ee-form-full { flex: 1 1 100%; }
.ee-form-group label { font-size: 12px; font-weight: 700; color: #1a3c5e; letter-spacing: .3px; }
.ee-form-group input,
.ee-form-group select,
.ee-form-group textarea { padding: 9px 13px; border-radius: 8px; border: 1.5px solid #ccc; font-size: 13px; font-family: inherit; outline: none; transition: border-color .2s; }
.ee-form-group input:focus,
.ee-form-group select:focus,
.ee-form-group textarea:focus { border-color: #0097a7; }
.ee-btn-submit { background: linear-gradient(135deg,#1a3c5e,#1f6faf); color:#fff; border:none; padding:12px 32px; border-radius:8px; font-size:14px; font-weight:700; cursor:pointer; transition: opacity .2s; margin-top:8px; }
.ee-btn-submit:hover { opacity: .88; }
.ee-form-msg { margin-top: 14px; padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.ee-form-msg.sucesso { background:#d6f0e4; color:#1a7a4a; border:1px solid #1a7a4a; }
.ee-form-msg.erro    { background:#fdecea; color:#c0392b; border:1px solid #c0392b; }

/* SPINNER */
.ee-spinner { display:inline-block; width:16px; height:16px; border:2px solid #fff; border-top-color:transparent; border-radius:50%; animation:ee-spin .6s linear infinite; vertical-align:middle; margin-right:6px; }
@keyframes ee-spin { to { transform:rotate(360deg); } }

/* RESPONSIVO */
@media (max-width: 600px) {
  .ee-cards { gap: 8px; }
  .ee-card  { padding: 12px; }
  .ee-card-num { font-size: 24px; }
  .ee-filtros { flex-direction: column; align-items: flex-start; }
  .ee-filtros input { width: 100%; min-width: unset; }
  .ee-header { padding: 20px; }
}

/* ── ADMIN EXTRAS ──────────────────────────── */
.ee-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.ee-header-admin { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ee-admin-badge { background:rgba(255,255,255,0.2); border:1px solid rgba(255,255,255,0.4); border-radius:20px; padding:4px 14px; font-size:11px; font-weight:700; color:#fff; letter-spacing:1px; }
.ee-btn-novo { background:#f5a623; color:#fff; border:none; padding:9px 20px; border-radius:8px; font-weight:700; font-size:13px; cursor:pointer; transition:opacity .2s; }
.ee-btn-novo:hover { opacity:.85; }

/* Campos inline editáveis */
.ee-inline { background:#fffde7; border:1px dashed #ccc; border-radius:5px; padding:4px 7px; font-size:12px; font-family:inherit; width:100%; box-sizing:border-box; outline:none; transition:border-color .2s,background .2s; }
.ee-inline:focus { border-color:#0097a7; background:#fff; border-style:solid; }
.ee-inline-valor { width:80px; }

/* Botões de ação na linha */
.ee-td-acoes { white-space:nowrap; }
.ee-btn-salvar-linha, .ee-btn-limpar-linha { border:none; border-radius:6px; padding:5px 9px; cursor:pointer; font-size:14px; transition:opacity .2s; margin:0 2px; }
.ee-btn-salvar-linha { background:#d6f0e4; }
.ee-btn-salvar-linha:hover { opacity:.75; }
.ee-btn-limpar-linha { background:#fdecea; }
.ee-btn-limpar-linha:hover { opacity:.75; }

/* MODAL */
.ee-modal { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:99999; display:flex; align-items:center; justify-content:center; padding:16px; }
.ee-modal-box { background:#fff; border-radius:14px; width:100%; max-width:640px; box-shadow:0 8px 40px rgba(0,0,0,0.18); overflow:hidden; animation:ee-modal-in .2s ease; }
.ee-modal-sm { max-width:400px; }
@keyframes ee-modal-in { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }
.ee-modal-header { background:#1a3c5e; color:#fff; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; font-weight:700; font-size:15px; }
.ee-modal-header-danger { background:#c0392b; }
.ee-modal-fechar { background:rgba(255,255,255,.2); border:none; color:#fff; border-radius:50%; width:28px; height:28px; cursor:pointer; font-size:14px; line-height:1; }
.ee-modal-fechar:hover { background:rgba(255,255,255,.35); }
.ee-modal-body { padding:24px 20px; }
.ee-modal-footer { padding:14px 20px; background:#f5f7fa; display:flex; justify-content:flex-end; gap:10px; border-top:1px solid #eee; }
.ee-btn-cancelar { background:#e0e0e0; color:#333; border:none; padding:9px 20px; border-radius:8px; font-weight:600; cursor:pointer; }
.ee-btn-confirmar { background:#1a3c5e; color:#fff; border:none; padding:9px 22px; border-radius:8px; font-weight:700; cursor:pointer; }
.ee-btn-confirmar:hover { opacity:.88; }
.ee-btn-danger { background:#c0392b; color:#fff; border:none; padding:9px 22px; border-radius:8px; font-weight:700; cursor:pointer; }
.ee-btn-danger:hover { opacity:.88; }

/* TOAST */
.ee-toast { position:fixed; bottom:28px; right:28px; background:#1a3c5e; color:#fff; padding:12px 22px; border-radius:10px; font-size:13px; font-weight:600; z-index:999999; box-shadow:0 4px 20px rgba(0,0,0,.2); animation:ee-toast-in .25s ease; }
.ee-toast.sucesso { background:#1a7a4a; }
.ee-toast.erro    { background:#c0392b; }
@keyframes ee-toast-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
