.aa-meeting-detail {
  max-width: 1200px;
  margin: 0 auto;
}

.aa-meeting-detail__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: stretch;
}

.aa-meeting-detail__sidebar,
.aa-meeting-detail__map-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}

.aa-meeting-detail__title {
  margin: 0 0 10px;
}

.aa-meeting-detail__back-link {
  margin: -4px 0 12px;
  font-size: 13px;
}

.aa-meeting-detail__back-link a {
  color: #344054;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aa-meeting-detail__chips {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}

.aa-chip {
  display: inline-block;
  border: 1px solid #c3c4c7;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #344054;
  background: #f8fafc;
}

.aa-meeting-detail__list {
  margin: 0;
}

.aa-meeting-detail__list dt {
  margin: 0;
  font-weight: 700;
  color: #1d2327;
}

.aa-meeting-detail__list dd {
  margin: 2px 0 10px;
  color: #344054;
}

.aa-meeting-detail__exceptions {
  margin-top: 2px;
  padding: 6px 8px;
  border-left: 2px solid #d97706;
  background: #fff7ed;
  font-size: 13px;
  line-height: 1.35;
  color: #7c2d12;
}

.aa-meeting-detail__paused-notice {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-left: 3px solid #2563eb;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.35;
}

.aa-meeting-detail__paused-notice p {
  margin: 4px 0 0;
}

.aa-meeting-detail__exceptions-panel {
  margin: 0 0 14px;
}

.aa-meeting-detail__exceptions-wrap--mobile {
  display: none;
}

.aa-meeting-detail__exceptions-wrap--desktop {
  display: block;
}

.aa-meeting-detail__exception-line + .aa-meeting-detail__exception-line {
  margin-top: 2px;
}

.aa-meeting-detail__exception-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.aa-meeting-detail__exception-more {
  margin-top: 4px;
  color: #92400e;
}

.aa-meeting-detail__notice {
  margin-top: 12px;
  border-left: 2px solid #d0d5dd;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 10px 12px;
}

.aa-meeting-detail__notice p {
  margin: 0;
}

.aa-meeting-detail__actions {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aa-meeting-detail__change-toggle {
  color: #25326d;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  line-height: 1.35;
}

.aa-meeting-detail__change-toggle:hover {
  color: #1d2327;
}

.aa-meeting-detail__change-form {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 2px solid #d0d5dd;
  background: rgba(255, 255, 255, 0.45);
}

.aa-meeting-detail__change-info {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #344054;
}

.aa-meeting-detail__change-support {
  margin-top: 8px;
  margin-bottom: 0;
}

.aa-meeting-detail__change-support a {
  color: #25326d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aa-meeting-detail__change-form label {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d2327;
}

.aa-meeting-detail__change-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
}

.aa-meeting-detail__change-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 9px 10px;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
  background: #fff;
}

.aa-meeting-detail__change-form input[type="email"]:focus {
  outline: none;
  border-color: #2f3c83;
  box-shadow: 0 0 0 1px rgba(47, 60, 131, 0.22);
}

.aa-meeting-detail__change-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.aa-meeting-detail__change-actions .button {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 14px;
  line-height: 1.2;
}

.aa-meeting-detail__change-status {
  font-size: 13px;
  color: #50575e;
  line-height: 1.35;
}

.aa-meeting-detail__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.aa-meeting-detail__token-notice {
  margin: 10px 0 0;
  color: #7a1625;
  font-size: 13px;
}

.aa-meeting-detail__send-form {
  margin-top: 10px;
}

.aa-meeting-detail__map-panel h3 {
  margin: 0 0 10px;
}

.aa-meeting-detail__map-wrap {
  position: relative;
  border: 1px solid #d5d9e0;
  border-radius: 0;
  overflow: hidden;
  background: #f2f4f7;
  z-index: 1;
}

.aa-meeting-detail__map-wrap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

.aa-meeting-detail__map-canvas {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}

.aa-meeting-detail__map-link {
  margin: 10px 0 0;
}

.aa-meeting-detail__map-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  color: #1d2327;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* A gyűlésoldali menü lenyílója legyen mindig a térkép fölött. */
.aa-meeting-detail__map-wrap .leaflet-container,
.aa-meeting-detail__map-wrap .leaflet-pane,
.aa-meeting-detail__map-wrap .leaflet-top,
.aa-meeting-detail__map-wrap .leaflet-bottom {
  z-index: 2;
}

.aa-meeting-detail__map-zoom:hover {
  background: #f7f8f9;
}

.aa-meeting-detail__info-panel {
  margin-top: 18px;
  padding: 10px 12px;
  border-left: 2px solid #2f3c83;
  background: #f5f8ff;
}

.aa-meeting-detail__info-panel h3 {
  margin: 0 0 8px;
}

.aa-meeting-detail__info-panel p {
  margin: 0 0 8px;
}

.aa-meeting-detail__info-panel p:last-child {
  margin-bottom: 0;
}

.aa-meeting-detail__weekly-theme {
  color: #1e2f7a;
}

.aa-meeting-detail__weekly-theme-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.aa-meeting-detail__weekly-theme-list li {
  margin: 0;
  padding: 3px 0;
  color: #1e2f7a;
}

.aa-meeting-detail__online-info {
  color: #1e2f7a;
}

.aa-meeting-detail__online-info .aa-meeting-detail__map-link {
  margin-top: 6px;
}

.aa-meeting-detail__online-access {
  line-height: 1.45;
}

/* Meeting szerkesztő oldal: visszafogott, szürke paneles megjelenés */
.aa-meeting-change .aa-meeting-detail__map-panel {
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  padding: 12px;
}

.aa-meeting-change .aa-meeting-detail__send-form {
  margin-top: 6px;
}

.aa-meeting-change .form-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 0 !important;
}

.aa-meeting-change .form-table tbody,
.aa-meeting-change .form-table tr {
  border: 0 !important;
}

.aa-meeting-change .form-table th,
.aa-meeting-change .form-table td {
  border: 0 !important;
  background: transparent !important;
  padding: 8px 6px;
}

.aa-meeting-change .form-table th {
  width: 34%;
  color: #1d2939;
  text-align: left;
  vertical-align: top;
  font-weight: 600;
}

.aa-meeting-change .aa-required {
  color: #b42318;
  font-weight: 700;
  margin-left: 4px;
}

.aa-meeting-change .aa-required-label {
  font-weight: 700;
}

.aa-meeting-change .aa-field-hint {
  margin: 6px 0 0;
  color: #667085;
  font-size: 12px;
}

.aa-meeting-change .aa-field-error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.aa-meeting-change .aa-field-invalid {
  border-color: #f04438 !important;
  box-shadow: 0 0 0 1px rgba(240, 68, 56, 0.2);
}

.aa-meeting-change .aa-meeting-change__success-notice {
  border-left: 0;
  background: transparent;
  padding: 12px 14px;
}

.aa-meeting-change .aa-meeting-change__token-timer {
  margin: 4px 0 12px;
  color: #475467;
  font-size: 13px;
}

.aa-meeting-change .aa-meeting-change__token-timer strong {
  color: #1d2939;
  margin-left: 4px;
}

.aa-meeting-change .aa-meeting-change__token-timer.is-expired strong {
  color: #b42318;
}

.aa-meeting-change .form-table input[type="text"],
.aa-meeting-change .form-table input[type="date"],
.aa-meeting-change .form-table input[type="time"],
.aa-meeting-change .form-table input[type="url"],
.aa-meeting-change .form-table select,
.aa-meeting-change .form-table textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  background: #fff;
  color: #101828;
  font-size: 14px;
  line-height: 1.15;
  min-height: 36px;
  padding: 5px 9px;
  box-sizing: border-box;
}

.aa-meeting-change .form-table input[type="date"]:focus,
.aa-meeting-change .form-table input[type="text"]:focus,
.aa-meeting-change .form-table input[type="time"]:focus,
.aa-meeting-change .form-table input[type="url"]:focus,
.aa-meeting-change .form-table select:focus,
.aa-meeting-change .form-table textarea:focus {
  border-color: #98a2b3;
  box-shadow: 0 0 0 1px rgba(152, 162, 179, 0.18);
  outline: none;
}

.aa-meeting-change .form-table textarea {
  min-height: 86px;
  line-height: 1.35;
}

.aa-meeting-change .form-table input[readonly] {
  background: #f3f4f6;
}

.aa-meeting-change .aa-time-selects {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.aa-meeting-change .aa-time-selects select {
  flex: 1 1 0;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  float: none !important;
  clear: none !important;
}

.aa-meeting-change .aa-meeting-change__coords {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.aa-meeting-change .aa-meeting-change__weekly-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aa-meeting-change .aa-meeting-change__weekly-topic {
  flex: 1 1 auto;
  min-width: 240px;
}

.aa-meeting-change .aa-meeting-change__weekly-type {
  flex: 0 0 210px;
  width: 210px !important;
  max-width: 210px;
}

.aa-meeting-change .aa-meeting-change__geocode-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: #344054;
}

.aa-meeting-change .aa-meeting-detail__change-actions {
  margin-top: 8px;
  gap: 8px;
}

.aa-meeting-change .aa-meeting-detail__change-actions .button {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.15;
}

.aa-meeting-change .aa-meeting-detail__change-actions .button.button-primary,
.aa-meeting-change .aa-meeting-detail__change-actions .button[type="submit"] {
  border: 1px solid #2f3c83;
  background: #2f3c83;
  color: #fff;
}

.aa-meeting-change .aa-meeting-detail__change-actions .button.button-primary:hover,
.aa-meeting-change .aa-meeting-detail__change-actions .button[type="submit"]:hover {
  border-color: #25326d;
  background: #25326d;
  color: #fff;
}

.aa-meeting-change .aa-meeting-change__map-details {
  --aa-label-col: 34%;
  margin-top: 14px;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  background: #fff;
  padding: 8px 10px 10px;
  width: calc(100% - var(--aa-label-col) - 8px);
  margin-left: calc(var(--aa-label-col) + 8px);
  transition: none;
}

.aa-meeting-change .aa-meeting-change__map-details[open] {
  width: 100%;
  margin-left: 0;
}

.aa-meeting-change .aa-meeting-change__map-details > summary {
  cursor: pointer;
  font-weight: 600;
  color: #1d2939;
  font-size: 14px;
  line-height: 1.35;
  outline: none;
}

.aa-meeting-change .aa-meeting-change__map-wrap {
  margin-top: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  overflow: hidden;
  background: #f2f4f7;
}

.aa-meeting-change .aa-meeting-change__map-wrap iframe,
.aa-meeting-change .aa-meeting-change__map-canvas {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.aa-meeting-change .aa-meeting-change__map-link,
.aa-meeting-change .aa-meeting-change__map-missing {
  margin: 10px 0 0;
}

@media (max-width: 980px) {
  .aa-meeting-change .aa-meeting-change__map-details,
  .aa-meeting-change .aa-meeting-change__map-details[open] {
    width: 100%;
    margin-left: 0;
  }
}

@media (min-width: 981px) {
  .aa-meeting-detail__sidebar {
    border-right: 1px solid #e26a38;
    padding-right: 18px;
    height: 100%;
  }

  .aa-meeting-detail__map-panel {
    padding-left: 2px;
  }

  .aa-meeting-change .aa-meeting-detail__sidebar {
    border-right: 1px solid #e26a38;
    padding-right: 18px;
  }

  .aa-meeting-change .aa-meeting-detail__map-panel {
    padding-left: 16px;
  }
}

@media (max-width: 980px) {
  .aa-meeting-detail__grid {
    grid-template-columns: 1fr;
  }

  .aa-meeting-detail__sidebar {
    border-right: 0;
    padding-right: 0;
  }

  .aa-meeting-detail__map-wrap iframe {
    height: 320px;
  }

  .aa-meeting-detail__map-canvas {
    height: 320px;
  }

  .aa-meeting-detail__change-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .aa-meeting-detail__change-actions .button {
    width: 100%;
    text-align: center;
  }

  .aa-meeting-change .form-table th,
  .aa-meeting-change .form-table td {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .aa-meeting-change .form-table th {
    padding-bottom: 4px;
  }

  .aa-meeting-change .form-table td {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .aa-meeting-detail__exceptions-wrap--mobile {
    display: block;
    margin: 0 0 12px;
  }

  .aa-meeting-detail__exceptions-wrap--desktop {
    display: none;
  }

  .aa-meeting-change .aa-meeting-change__coords {
    grid-template-columns: 1fr;
  }

  .aa-meeting-change .aa-meeting-change__weekly-row {
    flex-direction: column;
    align-items: stretch;
  }

  .aa-meeting-change .aa-meeting-change__weekly-type {
    width: 100% !important;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .aa-meeting-change .aa-meeting-change__weekly-topic {
    min-width: 0;
  }
}
