/* FlächenDigital v6 – onOffice Suchformular
 * Bewusst eng auf die Portalübersicht begrenzt.
 * Keine allgemeinen onOffice-Overrides außerhalb dieser Komponente.
 */
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform form{
  width:100%;
  margin:0;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  box-shadow:none;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform > form > .oo-searchformfieldwrap{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px 24px;
  align-items:end;
  width:100%;
  margin:0;
  padding:0;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform .oo-searchformfield{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  width:100%;
  min-width:0;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform label,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform legend{
  display:block;
  margin:0 0 8px;
  padding:0;
  color:var(--fd-text-muted);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:14px;
  line-height:1.25;
  font-weight:500;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform select,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="text"],
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="number"],
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="search"]{
  display:block;
  width:100%;
  min-width:0;
  height:52px;
  min-height:52px;
  margin:0;
  padding:0 16px;
  border:1px solid var(--fd-border-strong);
  border-radius:9px;
  outline:0;
  background:var(--fd-surface);
  color:var(--fd-text);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:14px;
  line-height:1.2;
  box-shadow:none;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform select:focus,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="text"]:focus,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="number"]:focus,
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform input[type="search"]:focus{
  border-color:var(--fp-green);
  background:var(--fd-surface);
  box-shadow:0 0 0 3px var(--fd-focus);
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform select option{
  background:var(--fd-surface);
  color:var(--fd-text);
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform fieldset{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform fieldset .oo-searchformfieldwrap{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform .oo-searchformfield:has(input[type="submit"]),
.fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform .oo-searchformfield:has(button[type="submit"]){
  grid-column:1 / -1;
  align-items:flex-start;
  justify-content:flex-start;
  margin-top:6px;
}

@media(max-width:1100px){
  .fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform > form > .oo-searchformfieldwrap{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform > form > .oo-searchformfieldwrap{
    grid-template-columns:1fr;
    gap:14px;
  }
  .fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform fieldset .oo-searchformfieldwrap{
    grid-template-columns:1fr;
  }
  .fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform label,
  .fp-overview-v54 .fp-overview-content .fp-oo-search .oo-searchform legend{
    font-size:13px;
  }
}
