.search-row {
  display: flex;
  gap: 8px;
}

.search-row input {
  flex: 1;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13px;
  font-family: inherit;
  color: #222;
}

.search-row input:focus {
  outline: none;
  border-color: #2a6dd9;
}

.search-row button {
  padding: 9px 14px;
  background: #2a6dd9;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.search-row button:hover { background: #3578e8; }
  .widget-panel {
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    background: #fff;
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
  }

  .widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.02em;
  }

  .widget-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .widget-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
  }

  /* Map tile layer toggle */
  .map-layer-toggle {
    display: flex;
    gap: 6px;
  }

  .layer-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.03em;
  }

  .layer-btn:hover {
    border-color: #999;
    color: #333;
  }

  .layer-btn.active {
    background: #2a6dd9;
    border-color: #2a6dd9;
    color: #fff;
  }

  #map {
    width: 100%;
    height: 320px;
    border-radius: 6px;
    border: 1px solid #ddd;
  }

  /* Override Leaflet's default popup/control colours to suit dark theme */
  .leaflet-control-zoom a {
    background: #fff !important;
    color: #444 !important;
    border-color: #ccc !important;
  }
  .leaflet-control-zoom a:hover {
    background: #f0f0f0 !important;
    color: #111 !important;
  }
  .leaflet-control-attribution {
    background: rgba(255,255,255,0.85) !important;
    color: #888 !important;
    font-size: 10px !important;
  }
  .leaflet-control-attribution a { color: #555 !important; }

  .map-hint {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: -6px;
  }

  .coord-display {
    display: flex;
    gap: 20px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #666;
  }

  .coord-label {
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 4px;
  }

  .coord-display strong {
    color: #222;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .datetime-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }

  .datetime-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
  }

  .datetime-field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #aaa;
  }

  .datetime-field input {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 10px;
    color: #222;
    font-size: 13px;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.15s;
    color-scheme: light;
  }

  .datetime-field input:focus {
    outline: none;
    border-color: #2a6dd9;
  }

  .now-btn {
    padding: 9px 14px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    margin-bottom: 0;
  }

  .now-btn:hover {
    background: #e4e4e4;
    border-color: #aaa;
    color: #333;
  }

  .submit-btn {
    margin-top: 4px;
    width: 100%;
    padding: 11px 16px;
    background: #2a6dd9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s ease;
  }

  .submit-btn:hover:not(:disabled) { background: #3578e8; }

  .submit-btn:disabled {
    background: #e8e8e8;
    color: #aaa;
    cursor: not-allowed;
    border: 1px solid #ddd;
  }

  .notice {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
  }

  .notice.success {
    background: #f0faf0;
    border: 1px solid #b0ddb0;
    color: #2d7a2d;
  }

  .notice.error {
    background: #faf0f0;
    border: 1px solid #ddaab0;
    color: #a02020;
  }
.lpicker {
	width: 170px;
	background-color: #fffffff5;
	position: absolute;
	//display: inline-block;
	padding: 0;
	height: 32px;
	overflow: hidden;
	transition: all .3s ease;
	margin: 5px 10px 10px 0;
	vertical-align: top;
	float: left;
	z-index: 99999999;
	border: 1px solid #b0b0b0;
}

.licker:hover {
	height: 65px;
}

.lpicker a{
	color: #000;
	text-decoration: none;
}

.lpicker li {
	display: block;
	background: transparent;
	padding: 0px 10px;
	line-height: 32px;
	border-top: 1px solid #b0b0b0;
}

.lpicker li:hover{
	background-color: #4040ff;
	color: #ffffff;
}

.lpicker a:first-child li {
	border: none;
	//background: transparent;
}

.lpicker li img {
	margin-right: 5px;
}

.roundborders {
	border-radius: 10px;
}

.large:hover {
	height: 264px;
}
.file-upload {
  background-color: #ffffff;
  width: 490px;
  margin: 0 auto;
  padding: 20px;
}

.file-upload-btn {
  width: 50%;
  margin: 0 0 0 auto;
  color: #fff;
  background: #004fc7;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #002080;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}
.file-upload-btn2 {
  width: 100%;
  margin: 0;
  color: #fff;
  background: #00a245;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #15824B;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}


.file-upload-btn:hover {
  background: #1AA059;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}

.file-upload-btn2:hover {
  background: #009090;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}


.file-upload-btn:active {
  border: 0;
  transition: all .2s ease;
}

.file-upload-btn2:active {
  border: 0;
  transition: all .2s ease;
}


.file-upload-content {
  display: none;
  text-align: center;
}

.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.image-upload-wrap {
  margin-top: 20px;
  border: 4px dashed #0020d0;
  position: relative;
}

.image-dropping,
.image-upload-wrap:hover {
  background-color: #b0b0b0;
  border: 4px dashed #ffffff;
}

.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #222;
}

.drag-text {
  text-align: center;
}

.drag-text h3 {
  font-weight: 350;
  font-size: 18px;
  text-transform: uppercase;
  color: #303030;
  padding: 50px 0;
}

.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}

.remove-image {
  width: 200px;
  margin: 0;
  color: #fff;
  background: #cd4535;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #b02818;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.remove-image:hover {
  background: #c13b2a;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}

.remove-image:active {
  border: 0;
  transition: all .2s ease;
}
