﻿.map-drawer {
    position: absolute;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: #ffffff;
    z-index: 500;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

    .map-drawer.active {
        right: 0;
    }

.btn-close-drawer {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.esri-ui .esri-attribution {
    display: none !important;
}

@media (max-width: 768px) {
    #viewDiv {
        height: 450px !important;
    }

    .map-drawer {
        width: 100%;
    }
}
