        html,
        body,
        arcgis-map {
            height: 100%;
            margin: 0;
        }

        #shell-panel-bottom[resizable] {
            --calcite-shell-panel-min-height: 35vh;
            --calcite-shell-panel-max-height: 70vh;
            --calcite-shell-panel-height: 45vh;
        }

        arcgis-feature-table {
            height: 100%;
        }

        #table-toggle {
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }

        .toggle-btn {
            position: relative;
            width: 40px;
            height: 20px;
            border: none;
            background: none;
            padding: 0;
            cursor: pointer;
        }

        /* Formið */
        .btn-shape path {
            fill: #007ac2;
        }

        /* Pílan */
        .arrow {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(0deg);
            transition: transform 0.2s ease;
        }

        .arrow path {
            stroke: white;
            stroke-width: 2;
            fill: none;
        }

        /* Þegar taflan er opin */
        .toggle-btn.open .arrow {
            transform: translate(-50%, -50%) rotate(180deg);
        }

@media only screen and (max-width: 500px){
    arcgis-basemap-toggle {
    transform: scale(0.7); /* prófa 0.5–0.8 */
    transform-origin: top right;
        padding-bottom: -29px;
        margin-bottom: -5px;
    }
}