/* ============================================================
   app.css — Estilos auxiliares para Amarillas.la
   UIkit como base, solo lo que UIkit no cubre
   ============================================================ */

:root {
  --color-primary:   #f5c518;
  --color-primary-d: #d4a800;
  --color-text:      #1a1a2e;
  --color-muted:     #6c757d;
  --color-success:   #28a745;
  --color-danger:    #dc3545;
  --radius:          12px;
  --font-display:    'Sora', sans-serif;
  --font-body:       'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #f8f9fb;
}

/* ── Logotipo ─────────────────────────────────────────────── */
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-dot { color: var(--color-primary); }

/* ── Header público ───────────────────────────────────────── */
header.uk-background-secondary {
  background: #1a1a2e !important;
  border-bottom: 3px solid var(--color-primary);
}

/* ── Wizard: barra de pasos ───────────────────────────────── */
.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: background .3s, color .3s;
}
.step-item.active   .step-circle { background: var(--color-primary); color: #1a1a2e; }
.step-item.done     .step-circle { background: var(--color-success);  color: #fff; }
.step-line {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  margin: 0 4px;
  margin-bottom: 22px;
  min-width: 24px;
  transition: background .3s;
}
.step-line.done { background: var(--color-success); }
.step-label {
  font-size: 11px;
  color: var(--color-muted);
  white-space: nowrap;
}
.step-item.active .step-label { color: var(--color-text); font-weight: 600; }

.flag-label {
  font-size: 0.65em;
  color: var(--color-muted);
  font-weight: 400;
  margin-left: 8px;
}

/* ── Wizard: tarjetas de paso ────────────────────────────── */
.wizard-step {
  border-radius: var(--radius) !important;
  margin-bottom: 24px;
  animation: fadeSlide .3s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Rubro autocomplete ───────────────────────────────────── */
.rubro-wrapper { position: relative; }
.rubro-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  max-height: 220px;
  overflow-y: auto;
}
.rubro-dropdown .rubro-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s;
}
.rubro-dropdown .rubro-item:hover,
.rubro-dropdown .rubro-item.highlighted { background: #fff8e1; }

/* ── Mapa ─────────────────────────────────────────────────── */
.map-container {
  width: 100%;
  height: 400px;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #e8e8e8;
}

/* ── Botones ──────────────────────────────────────────────── */
.uk-button-primary {
  background: var(--color-primary) !important;
  color: var(--color-text) !important;
  border-color: var(--color-primary) !important;
  font-weight: 600;
}
.uk-button-primary:hover {
  background: var(--color-primary-d) !important;
  border-color: var(--color-primary-d) !important;
}

/* ── Éxito ────────────────────────────────────────────────── */
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}
