.jado-fab-wrapper {
    position: fixed;
    bottom: 20px;
    right: -100px;
    z-index: 9999;
    animation: slideIn 1s forwards;
}

@keyframes slideIn {
    0% {
        right: -100px;
    }

    100% {
        right: 20px;
    }
}

.jado-fab-button {
    display: flex;
    align-items: center;
    background-color: #218c5d;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.jado-fab-button:hover {
    background-color: #1c754c;
}

.jado-fab-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.jado-fab-icon {
    animation: pulse 1.2s infinite ease-in-out;
}

.jado-fab-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 10px #2dd88c;
}

.jado-fab-button:active {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jado-fab-icon {
    filter: brightness(0) invert(1);
}




/* دکمه های شناور */


.jado-fab-wrapper {
    position: fixed;
    bottom: 20px;
    right: -100px;
    z-index: 9999;
    animation: slideIn 1s forwards;
}

@keyframes slideIn {
    0% {
        right: -100px;
    }

    100% {
        right: 20px;
    }
}

.jado-fab-button {
    display: flex;
    align-items: center;
    background-color: #218c5d;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.jado-fab-button:hover {
    background-color: #1c754c;
}

.jado-fab-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.jado-fab-icon {
    animation: pulse 1.2s infinite ease-in-out;
}

.jado-fab-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 10px #2dd88c;
}

.jado-fab-button:active {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jado-fab-icon {
    filter: brightness(0) invert(1);
}

/* Paste into your style.css or <style> tag */


h1,
p {
    text-align: center;
    color: #333;
}

/* --- Floating Navigation CSS --- */

.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column-reverse;
    /* Key: Puts toggle visually at bottom */
    align-items: flex-start;
    /* Key: Aligns items (and toggle) left */
    z-index: 1000;
}

/* Toggle Button */
.nav-toggle {
    background-color: #F5F5DC;
    /* Cream */
    color: #28a745;
    /* Green icon */
    padding: 13px;
    border-radius: 50%;
    border: none;
    text-align: center;
    font-size: 22px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 15px;
    /* Space between links (when open) and toggle */
    /* align-self: center; */
    /* REMOVED: Now aligns left like items */
}

.nav-toggle:hover {
    background-color: #e0e0ca;
    /* Slightly darker cream */
    transform: scale(1.1);
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    /* Align items inside this container left */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    transform-origin: bottom left;
    transform: scale(0.9) translateY(10px);
    opacity: 0;
    visibility: hidden;
}

.nav-links.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Navigation Item (Wrapper for Button + Label) */
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Space between button and label */
}

/* Toggle Button - Updated */
.nav-toggle {
    background-color: #F5F5DC;
    /* Cream */
    color: #28a745;
    /* Green icon */
    /* Removed padding: 15px; */
    /* Removed text-align: center; */
    border-radius: 10px;
    /* CHANGED: From 50% for rounded square */
    border: none;
    font-size: 22px;
    /* Icon size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, border-radius 0.3s;
    /* Added border-radius transition */
    margin-top: 15px;
    width: 50px;
    /* ADDED: Explicit width */
    height: 50px;
    /* ADDED: Explicit height */
    display: flex;
    /* ADDED: For centering icon */
    justify-content: center;
    /* ADDED: Center icon horizontally */
    align-items: center;
    /* ADDED: Center icon vertically */
    /* align-self is inherited from parent (.floating-nav align-items: flex-start) */
}

.nav-toggle:hover {
    background-color: #e0e0ca;
    /* Slightly darker cream */
    transform: scale(1.1);
    border-radius: 12px;
    /* Optional: Slightly change radius on hover */
}

/* Add these rules to your existing CSS */

/* Style for the icon inside the toggle button */
.nav-toggle i {
    display: inline-block;
    /* Needed for transform to work reliably */
    transition: transform 0.35s ease-in-out;
    /* Animate the transform property */
    /* Ensure icon color is explicitly set if needed */
    color: #28a745;
}

/* Class added via JS when menu is open */
.nav-toggle i.icon-rotated {
    transform: rotate(180deg);
    /* Rotate the icon 180 degrees */
}

/* Navigation Button Styles */
.nav-btn {
    background-color: #28a745 ;
    /* Default Green */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Navigation Label Styles - ALWAYS VISIBLE */
.nav-label {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Individual Button Customization */
.home-btn {
    background-color: #28a745 !important;
}

/* Green */
.home-btn:hover {
    background-color: #218838;
}

.share-btn {
    background-color: #28a745 !important;
}

/* Coral */
.share-btn:hover {
    background-color: #28a745;
}

.update_map-btn {
    background-color: #ff7f50;
    color: white;
}

/* Violet */
.update_map-btn i {
    color: white;
}

.update_map-btn:hover {
    background-color: #e0683b;
}

.contact-btn {
    background-color: #28a745;
}

.contact-btn:hover {
    background-color: #28a745;
}

/* --- End of Floating Navigation CSS --- */

#img_share_btn,
#img_home_btn {
    width: 26px !important;
    height: 26px !important;
}


/* contact button  */

        /* Floating Call Button */
        .jado-fab-wrapper {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            transform: translateX(120%);
            animation: slideIn 0.6s forwards;
        }

        @keyframes slideIn {
            0% {
                transform: translateX(120%);
            }

            100% {
                transform: translateX(0);
            }
        }

        .jado-fab-button {
            display: flex;
            align-items: center;
            background-color: #218c5d;
            color: white;
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 14px;
            font-family: inherit;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            text-decoration: none;
            transition: background-color 0.3s ease;
            position: relative;
        }

        .jado-fab-button:hover {
            background-color: #1c754c;
        }

        .jado-fab-button:active {
            transform: scale(0.95);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .jado-fab-icon,
        .jado-fab-icon-call {
            width: 20px;
            height: 20px;
            object-fit: contain;
            animation: pulse 1.2s infinite ease-in-out;
        }

        .jado-fab-icon {
            margin-right: 10px;
        }

        .jado-fab-icon-call {
            width: 24px;
            height: 24px;
        }

        /* Pulse animation */
        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        .nav-btn, .nav-btn-jado-call {
            background-color: #f0f8da;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            font-size: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
        }
        .jado-nav-btn-group {
            gap: 10px;
            align-items: center;
        }





        /* switch layer */





       .layer-switcher {
           display: none !important;
       }


       #layerListSadra {
           display: none;
       }


       .layer-switcher-sadra {
           position: absolute;
           top: 60px;
           right: 10px;
           z-index: 2000;
           text-align: right;
       }

       .layer-btn-sadra {
           background: #fff;
           border: none;
           width: 42px;
           height: 42px;
           border-radius: 50%;
           cursor: pointer;
           font-size: 20px;
           box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
           display: flex;
           align-items: center;
           justify-content: center;
       }

       .layer-menu-sadra {
           margin-top: 6px;
           background: #fff;
           border-radius: 8px;
           box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
           padding: 6px 0;
           display: none;
           min-width: 200px;
       }

       .layer-menu-sadra button {
           display: block;
           width: 100%;
           padding: 8px 12px;
           border: none;
           background: transparent;
           cursor: pointer;
           text-align: left;
           font-size: 14px;
       }

       .layer-menu-sadra button.active {
           background: #e9ecef;
           font-weight: 700;
       }

       .layer-list-sadra {
           position: absolute;
           top: 110px;
           right: 10px;
           z-index: 1100;
           width: 220px;
           background: #fff;
           border: 1px solid #e5e7eb;
           border-radius: 12px;
           box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
           overflow: hidden;
           font-family: sans-serif;
       }

       .layer-list-title-sadra {
           padding: 10px 12px;
           font-weight: 700;
           border-bottom: 1px solid #f0f0f0;
       }

       .layer-items-sadra {
           list-style: none;
           margin: 0;
           padding: 6px 0;
       }

       .layer-item-sadra {
           padding: 8px 12px;
           cursor: pointer;
           user-select: none;
       }

       .layer-item-sadra+.layer-item-sadra {
           border-top: 1px dashed #f3f4f6;
       }

       .layer-base-sadra {
           font-weight: 600;
       }

       .layer-item-sadra.active {
           background: #f5faff;
           border-right: 3px solid #0d6efd;
       }