/* ===============================
   Base
   =============================== */

@font-face {
    font-family: "Muni";
    src: url("/Fonts/Muni-Bold.woff2") format("embedded-opentype");
    font-weight: bold;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
}

.leaflet-container {
    cursor: crosshair;
}   
    
/* ===============================
   Map title
   =============================== */

.map-title {
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    font-family: "Muni", Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: rgb(0, 0, 255);
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    pointer-events: none;
}


/* ===============================
   Center map button
   =============================== */

.leaflet-control-center {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    color: rgb(0,0,255);
    margin-bottom: 5px;
}

.leaflet-control-center:hover {
    background: #f4f4f4;
}


/* ===============================
   Leaflet zoom buttons
   =============================== */

.leaflet-control-zoom a {
    color: rgb(0, 0, 255);
    font-weight: bold;
}

.leaflet-control-zoom a:hover {
    background-color: rgba(0, 0, 255, 0.1);
}


/* ===============================
   Sentiment filter
   =============================== */

.filter-control {
    background: rgba(255,255,255,0.9);
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    font-family: "Muni", Arial, sans-serif;
    font-size: 14px;
}

.filter-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: rgb(0,0,255);
}

.filter-control label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
}


/* ===============================
   Emoji map markers
   =============================== */

.emoji-marker {
    background: none;
    border: none;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow:
            0 1px 3px rgba(0,0,255,0.5),
            0 1px 5px rgba(0,0,0,0.5);
}


/* ===============================
   Popup sentiment buttons
   =============================== */

.popup-title {
    margin-bottom: 8px;
    font-family: "Muni", Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: rgb(0,0,255);
}

.sentiment-button {
    display: flex;
    width: 260px;
    margin-bottom: 10px;
    padding: 0;
    font-family: "Muni", Arial, sans-serif;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
    color: rgb(0,0,255);
    border: 1px solid rgba(0,0,255,0.4);
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
}

.sentiment-button:hover {
    background: rgba(0,0,255,0.1);
}

.emoji-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    flex-shrink: 0;
    font-size: 28px;
    background: rgba(0,0,255,0.08);
}

.text-box {
    display: flex;
    align-items: center;
    padding: 10px;
    text-align: left;
    line-height: 1.3;
}

.caption-input {
    width: 180px;
    resize: vertical;
    font-family: "Arial", Arial, sans-serif;
    font-size: 12px;
    margin-bottom: 8px;
    padding: 5px;
}

.save-button {
    display: block;
    margin: 10px auto 0 auto;
    background-color: rgba(0,0,255,0.7);
    color: white;
    font-family: "MUNI", Arial, sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 8px 25px;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
}

.save-button.welcome-text {
    margin: 30px auto 0 auto;
}

    
.save-button:hover {
    background-color: rgba(0,0,255,1);
}

.intro-modal {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.45);

    z-index: 99999;
}


.intro-window {

    width: 500px;
    max-width: 90%;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.3);

    font-family: "MUNI", sans-serif;
}

h2 {
    color: rgb(0,0,255);
}

.temp-marker {
    width: 15px !important;
    height: 15px !important;
    background-color: rgb(0, 0, 255);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(0,0,255,0.3);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(0,0,255,0.8);
    color: white;
    font-family: "Muni", Arial, sans-serif;
    font-weight: bold;
}