/* style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 300px;
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: 100vh;            /* Lock height */
    overflow-y: auto;         /* Scroll if needed */
    box-sizing: border-box;
    flex-shrink: 0;
}

.sidebar h2 {
    font-size: 18px;
    margin-top: 0;
    color: #2c3e50;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 15px;
    color: #333;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button-group button {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

.button-group button[type="submit"] {
    background-color: #3498db;
    color: white;
}

.button-group button[type="submit"]:hover {
    background-color: #2980b9;
}

.button-group .clear-btn {
    background-color: #e74c3c;
    color: white;
}

.button-group .clear-btn:hover {
    background-color: #c0392b;
}


.map-container {
    flex-grow: 1;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.language-switcher-fixed {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    display: flex;
    gap: 10px;
}

.flag-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.flag-btn img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.flag-btn img:hover {
    transform: scale(1.15);
}

.heading-bar {
    background-color: #adb9c1; /* or try #e1e7ef, #dbeafe, etc. */
    padding: 1px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.species-info-box {
    background-color: transparent;
    padding: 0;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: black;
}

.leaflet-tooltip {
    background-color: white !important;
    color: black;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.carousel {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.carousel-image {
    width: 100%;
}

.carousel-buttons {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-buttons button {
    background-color: #fff;
    border: 2px solid #ccc;
    color: #333;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-buttons button:hover {
    background-color: #eee;
    border-color: #888;
}





.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#map-search-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 6px 15px;
}

#map-search-input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 250px;
    background: transparent;
}

.upload-section h3 {
    color: #2c3e50;
}

.upload-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 6px 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.upload-button i {
    margin-right: 6px;
    vertical-align: middle;
}

.upload-button:hover {
    background-color: #2980b9;
}
