/* Custom Maps Tabs General Wrapper Layout */
.mt-eb4d3e53-main-wrapper {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
}

/* Tabs Navigation Alignment Configuration */
.mt-eb4d3e53-align-left .mt-eb4d3e53-tabs-nav-container {
    justify-content: flex-start;
}
.mt-eb4d3e53-align-center .mt-eb4d3e53-tabs-nav-container {
    justify-content: center;
}
.mt-eb4d3e53-align-right .mt-eb4d3e53-tabs-nav-container {
    justify-content: flex-end;
}

/* Tabs Nav Styling */
.mt-eb4d3e53-tabs-nav-container {
    display: flex;
    position: relative;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.mt-eb4d3e53-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mt-eb4d3e53-tab-btn {
    border: 1px solid #ccc;
    background: #fdfdfd;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mt-eb4d3e53-tab-btn:hover {
    background: #f3f3f3;
}

.mt-eb4d3e53-tab-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Container Panels Layout */
.mt-eb4d3e53-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    width: 100%;
}

.mt-eb4d3e53-panel.active {
    display: block;
    opacity: 1;
}

.mt-eb4d3e53-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.mt-eb4d3e53-info-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mt-eb4d3e53-heading {
    margin: 0 0 15px 0;
}

.mt-eb4d3e53-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

.mt-eb4d3e53-link-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mt-eb4d3e53-link-btn:hover {
    opacity: 0.85;
}

/* Map Column & Iframe Styles */
.mt-eb4d3e53-map-column {
    position: relative;
    width: 100%;
}

.mt-eb4d3e53-map-frame {
    position: relative;
    overflow: hidden;
    height: 400px;
    width: 100%;
    background-color: #f0f0f0;
}

.mt-eb4d3e53-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Horizontal Layout Style Config */
.mt-eb4d3e53-layout-horizontal .mt-eb4d3e53-main-wrapper {
    flex-direction: row;
    gap: 30px;
}

.mt-eb4d3e53-layout-horizontal .mt-eb4d3e53-tabs-nav-container {
    width: 250px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.mt-eb4d3e53-layout-horizontal .mt-eb4d3e53-tabs-nav {
    flex-direction: column;
    width: 100%;
}

/* MOBILE VIEW - Toggleable Horizontal Scroll Settings */
@media (max-width: 767px) {
    .mt-eb4d3e53-layout-horizontal .mt-eb4d3e53-main-wrapper {
        flex-direction: column;
    }
    
    .mt-eb4d3e53-layout-horizontal .mt-eb4d3e53-tabs-nav-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .mt-eb4d3e53-panel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* When horizontal scroll option is turned on for mobile */
    .mt-eb4d3e53-mobscroll-yes .mt-eb4d3e53-tabs-nav-container {
        padding: 0 40px;
        box-sizing: border-box;
    }

    .mt-eb4d3e53-mobscroll-yes .mt-eb4d3e53-tabs-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding-bottom: 5px;
    }
    
    /* Hide scrollbars but keep functionality */
    .mt-eb4d3e53-mobscroll-yes .mt-eb4d3e53-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .mt-eb4d3e53-mobscroll-yes .mt-eb4d3e53-tabs-nav {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .mt-eb4d3e53-mobscroll-yes .mt-eb4d3e53-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Mobile arrows navigation overlay styling */
    .mt-eb4d3e53-nav-arrow {
        display: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: #fff;
        border: 1px solid #ccc;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    }

    .mt-eb4d3e53-nav-arrow.left {
        left: 0;
    }

    .mt-eb4d3e53-nav-arrow.right {
        right: 0;
    }
}
