.hedgehog-map-container {
    margin: 20px 0;
}

/* Form container */
#hedgehog-map-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

/* Headings */
#hedgehog-map-form h3 {
    margin-top: 0;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

/* Labels */
#hedgehog-map-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
}

/* Inputs */
#hedgehog-map-form input[type="text"],
#hedgehog-map-form input[type="date"],
#hedgehog-map-form input[type="file"],
#hedgehog-map-form textarea,
#hedgehog-map-form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

/* Button */
#hedgehog-map-form button {
    margin-top: 20px;
    background: #43a047;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#hedgehog-map-form button:hover {
    background: #2e7d32;
}

/* Message */
#hedgehog-form-message {
    margin-top: 15px;
    font-weight: bold;
    color: #2e7d32;
}

label[for="hedgehog-date"]::before { content: "📅 "; }
label[for="hedgehog-condition"]::before { content: "❤️ "; }
label[for="hedgehog-notes"]::before { content: "📝 "; }
label[for="hedgehog-photo"]::before { content: "📷 "; }


#hedgehog-form-message.success {
    animation: pop 0.4s ease;
}

@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Filter bar container */
.hh-filter-bar {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    max-width: 650px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* Filter groups */
.hh-filter-group {
    margin-bottom: 15px;
}

.hh-filter-group label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

/* Inputs */
.hh-filter-bar select,
.hh-filter-bar input[type="number"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hh-filter-bar select:focus,
.hh-filter-bar input[type="number"]:focus {
    border-color: #43a047;
    box-shadow: 0 0 0 2px rgba(67,160,71,0.2);
    outline: none;
}

/* Radius row */
.hh-radius-row {
    display: flex;
    gap: 10px;
}

/* Button */
.hh-filter-bar button {
    background: #43a047;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.hh-filter-bar button:hover {
    background: #2e7d32;
}

.hh-filter-bar button:active {
    transform: scale(0.97);
}

/* Responsive */
@media (max-width: 600px) {
    .hh-radius-row {
        flex-direction: column;
    }
}

.hh-filter-header {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.hh-filter-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    max-width: 620px;
margin: 0 auto 20px;
}

.hh-filter-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    color: #2c5530;
}

.hh-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.hh-filter-row select {
    flex: 1;
    min-width: 180px;
}

.hh-filter-buttons {
    display: flex;
    gap: 10px;
}

#hedgehog-radius-btn,
#hedgehog-radius-reset {
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #333;
    font-weight: 600;
}

#hedgehog-radius-btn {
    background: #2f8f3a;
    color: #fff;
    border: none;
}

#hedgehog-radius-reset {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

#hedgehog-radius-btn,
#hedgehog-radius-reset {
    width: 120px;
    height: 44px;
    font-weight: 600;
}

.hh-filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#hedgehog-radius-btn,
#hedgehog-radius-reset {
    width: 120px;
    height: 44px;
    font-weight: 600;
}

.hh-sighting-count {
    display: inline-block;
    margin: 0 0 15px;
    padding: 6px 12px;
    background: #eef7ef;
    border: 1px solid #d4e8d5;
    border-radius: 20px;
    color: #2c5530;
    font-size: 14px;
    font-weight: 600;
}

.hh-postcode-row{
    display:flex;
    gap:10px;
    align-items:center;
}

.hh-postcode-row input{
    flex:1;
}
.required {
    color: #d63638;
    font-weight: bold;
    margin-right: 3px;
}

.hh-legend {
    margin: 10px 0;
}

.hh-legend-panel {
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 240px;
}

.hh-legend-item {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.hh-legend-colour {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    border: 1px solid #ccc;
}
