/* ------------------------ */
/* --- routenplaner.css --- */
/* ------------------------ */

@import 'variables.css';

#map {
  width: 100%;
  height: 600px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
fieldset {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.route-planner p {
  margin: 0 0 1rem 0;
}

/* Routenplaner-Layout */
fieldset.route-planner {
  border: 1px solid #666;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.route-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.route-row label {
  flex: 0 0 auto;
  margin: 0;
  color: gray;
  white-space: nowrap;
}
.route-row input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.3em 0.5em;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid #808080;
  border-radius: 0.3em;
  background-color: lightyellow;
  box-sizing: border-box;
  height: auto;
}
.route-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}
.route-actions button {
  flex: 1 1 220px;
  min-width: 180px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--praxis-blue, #2f6fb0);
  color: #fff;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  min-height: 44px;
  cursor: pointer;
}
.route-actions button:hover {
  filter: brightness(0.95);
}
#routeStatus {
  margin-bottom: 1rem;
  color: #333;
}
#routeInfo,
#routeInput {
  margin: 1rem;
  width: calc(100% - 2rem);
  box-sizing: border-box;
}
#routeInfo p{
  float: none;
  width: auto;
}
#routeInfo h3,
#routeInfo h4{
  margin-top: .2rem !important;
  margin: 0 0 8px 0 !important;
}
.route-info p{
  margin: 0 0 12px 0;
}
.route-info ol{
  margin: 0;
  padding-left: 1.25rem;
  column-count: 1;
}
.route-info li{
  break-inside: avoid;
}
/* Google-ähnliches Overlay */
.place-card {
  min-width: 280px;
  max-width: 340px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(60,64,67,.3), 0 8px 16px rgba(60,64,67,.15);
  padding: 12px 14px 10px 14px;
  font-family: Roboto, Arial, sans-serif;
  color: #202124;
  border: 1px solid rgba(0,0,0,.06);
  cursor: default;
  position: relative;
}
.place-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2px;
  padding-right: 34px;
}
.place-address {
  font-size: 13px;
  line-height: 1.35;
  color: #5f6368;
  margin-bottom: 10px;
  padding-right: 34px;
}
.place-feature-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.place-feature-text {
  font-size: 13px;
  line-height: 1.35;
  color: #202124;
}
.google-like-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
  padding: 0;
  flex: 0 0 auto;
}
.google-like-btn:hover {
  background: rgba(26, 115, 232, 0.18);
}
.google-like-btn svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-box {
padding: 0.5rem 0;
}
#ContentrouteInfo ol {
margin-top: 0.5rem;
padding-left: 1.4rem;
}
#ContentrouteInfo li {
margin-bottom: 0.4rem;
}
