/* Mapa Día del Motociclista — formularios, tarjetas y panel */
.ddm-btn, a.ddm-btn {
  display: inline-block;
  background: #c62828;
  color: #fff !important;
  border: 0;
  border-radius: 6px;
  padding: .6em 1.1em;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
}
.ddm-btn:hover { filter: brightness(1.08); }
.ddm-btn--sec, a.ddm-btn--sec { background: #333; }
.ddm-btn--sm, a.ddm-btn--sm { padding: .4em .8em; font-size: 14px; }
.ddm-link-btn { background: none; border: 0; color: #b00020; cursor: pointer; padding: 0; text-decoration: underline; font: inherit; }

.ddm-aviso { padding: .8em 1em; border-radius: 8px; background: #f2f6fb; border-left: 4px solid #2a6db0; margin: 0 0 1em; }
.ddm-aviso--ok { background: #eef8ef; border-color: #2e7d32; }
.ddm-aviso--error { background: #fdeeee; border-color: #c62828; }
.ddm-aviso ul { margin: 0; padding-left: 1.2em; }

.ddm-form { max-width: 760px; }
.ddm-form p { margin: 0 0 1em; }
.ddm-form label { display: block; font-weight: 600; margin-bottom: .25em; }
.ddm-form input[type=text], .ddm-form input[type=email], .ddm-form input[type=tel], .ddm-form input[type=url],
.ddm-form input[type=password], .ddm-form input[type=date], .ddm-form input[type=time], .ddm-form select, .ddm-form textarea,
.ddm-campos--admin input[type=text], .ddm-campos--admin input[type=url], .ddm-campos--admin input[type=tel],
.ddm-campos--admin input[type=date], .ddm-campos--admin input[type=time], .ddm-campos--admin select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: .55em .7em;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
}
.ddm-campos--admin label { display: block; font-weight: 600; margin-bottom: .25em; }
.ddm-campos--admin p { margin: 0 0 1em; }
.ddm-form label.ddm-check, .ddm-check label, .ddm-campos--admin label.ddm-check { font-weight: 400; display: flex; gap: .4em; align-items: flex-start; margin-top: .3em; }
.ddm-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1em; }
.ddm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ddm-mini { font-size: 14px; color: #555; }
.ddm-form small { display: block; color: #666; margin-top: .25em; }
.ddm-form__acciones a { margin-left: 1em; }
.ddm-cartel-actual img { max-width: 120px; height: auto; display: block; margin: .3em 0; border-radius: 6px; }

.ddm-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1em; font-size: 14px; }
.ddm-mis { list-style: none; margin: 0; padding: 0; }
.ddm-mis__item { display: flex; gap: .8em; align-items: center; padding: .8em 0; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.ddm-mis__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; display: block; }
.ddm-mis__img:empty { width: 64px; height: 64px; background: #eee; border-radius: 6px; }
.ddm-mis__info { flex: 1 1 220px; }
.ddm-mis__acc { display: flex; gap: .8em; align-items: center; }
.ddm-mis__acc form { margin: 0; }
.ddm-badge { display: inline-block; font-size: 12px; padding: .1em .5em; border-radius: 10px; background: #eee; color: #444; vertical-align: middle; }
.ddm-badge--publish { background: #e3f4e4; color: #1b5e20; }
.ddm-badge--pending { background: #fff4d6; color: #7a5200; }

.ddm-ev { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.ddm-ev__img { display: block; background: #f3f3f3; }
.ddm-ev__img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ddm-ev__body { padding: .8em 1em 1em; }
.ddm-ev__body p { margin: 0 0 .45em; font-size: 14px; }
.ddm-ev__titulo { margin: 0 0 .4em !important; font-size: 1.05em; line-height: 1.25; }
.ddm-ev__titulo a { text-decoration: none; }
.ddm-ev__acc { margin-top: .6em !important; }
.ddm-vacio { color: #666; }

.ddm-ficha { background: #fafafa; border: 1px solid #eee; border-radius: 12px; padding: 1em 1.2em; margin-bottom: 1.5em; }
.ddm-ficha__datos { list-style: none; margin: 0 0 .8em; padding: 0; }
.ddm-ficha__datos li { margin: .3em 0; }
.ddm-acceso { font-size: 14px; }
.ddm-ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -.15em; opacity: .75; display: inline-block; }
