:root {
	--Base: #2C9A80;   /*Base color*/
	--Base05: #2C9A800d; /*Base color  5% */
	--Base20: #2C9A8033; /*Base color 20% */
	--Base50: #2C9A8080; /*Base color 40% */	
}



/* Email form styling */
.email-form {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
    display: none;
}


/* Thank you message */
.email-form h1 {
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

.email-form p {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

/* Input field */
.email-form input[type="email"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Button styling */
.email-form button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.email-form button:hover {
    background-color: #1a252f;
}

/* Consent checkbox */
.consent-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 14px;
}

.consent-container input {
    margin-right: 8px;
}


#map {
	height: 400px;
	width: 100%;
	margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    right: 10px; /* Adjust as needed */
    font-size: 16px;
    color: var(--Base);
}

.input-wrapper i:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.input-wrapper input {
    padding-left: 35px; /* Make room for the icon */
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.result-group {
    background: #f9f9f9;
    color: var(--Base);
    padding: 15px;
    margin-top: 15px;
}

.result-group h* {
    width: 100%;
    text-align: center;
}

.result-section h2 {
    margin-top: 2em;
}

.result-title {
    font-size: 16px;
    font-weight: bold;
    color: #2C9A80;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.result-title:hover {
    text-decoration: underline;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.result-content {
    font-size: 14px;
    color: #333;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-top: 15px;
    
    /* Animation */
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.3s ease-out forwards;
}


.result-content img {
    margin-right: 14px;
}

.results-list {
    margin-top: 10px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#map {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
}
/* Remove default Leaflet controls */
.leaflet-control-zoom,
.leaflet-control-attribution {
    display: none !important;
}
/* Simplify map style */
.leaflet-tile-pane {
    filter: grayscale(100%) brightness(105%);
}
.error-message {
    color: #e74c3c;
    background-color: #fadbd8;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}
.result-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.result-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.search-status {
    font-style: italic;
    color: #666;
    margin: 10px 0;
}
.result-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.result-info {
    flex: 1;
}
.map-marker {
    background-color: #3498db;
    border-radius: 50%;
    border: 2px solid white;
    width: 15px;
    height: 15px;
}


/* Modern placeholder animation styles */
.results-placeholder {
    width: 100%;
}

.placeholder-item {
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.placeholder-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.placeholder-image {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #e6e6e6;
    margin-right: 15px;
}

.placeholder-line {
    height: 15px;
    border-radius: 3px;
    background-color: #e6e6e6;
    margin-bottom: 10px;
}

.placeholder-content .placeholder-line:last-child {
    margin-bottom: 0;
}

/* Pulse animation */
.pulse {
    animation: pulse 1.5s infinite;
    background: linear-gradient(90deg, #e6e6e6 0%, #f0f0f0 50%, #e6e6e6 100%);
    background-size: 200% 100%;
}

@keyframes pulse {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: -135% 0%;
    }
}

/* Hide placeholders when not needed */
.results-placeholder.hidden {
    display: none;
}

/* Sidebar logos styling */
.sidebar-logos {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logos img {
    max-height: 40px;
    object-fit: contain;
}

/* Make sure the sticky sidebar has enough padding at the bottom */
.form-group.sticky {
    padding-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-logos {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .sidebar-logos img {
        max-height: 30px;
    }
}