* {
    box-sizing: border-box;
}

body {

    margin: 0;

    font-family: Arial, sans-serif;

    background: #f5f5f5;
}

#app {

    display: flex;

    width: 100%;

    height: 100vh;
}

/* =========================
SIDEBAR
========================= */

#sidebar {

    width: 420px;

    background: white;

    padding: 25px;

    overflow-y: auto;

    border-right: 1px solid #ddd;
}

h1 {

    margin-top: 0;

    font-size: 28px;
}

.subtitle {

    color: #666;

    line-height: 1.5;
}

/* =========================
BOTÓN
========================= */

#analyze-btn {

    width: 100%;

    padding: 14px;

    border: 0;

    background: #cf2e2e;

    color: white;

    font-size: 16px;

    font-weight: bold;

    border-radius: 10px;

    cursor: pointer;

    margin-top: 20px;

    transition: 0.2s;
}

#analyze-btn:hover {

    background: black;
}

/* =========================
MAPA
========================= */

#map {

    flex: 1;

    height: 100vh;
}

/* =========================
RESULTADOS
========================= */

#results {

    margin-top: 25px;
}

/* SCORE */

#score-card {

    background: #111;

    color: white;

    border-radius: 14px;

    padding: 20px;

    margin-bottom: 20px;
}

#score-card .label {

    font-size: 14px;

    opacity: 0.7;
}

#score {

    font-size: 42px;

    font-weight: bold;

    margin-top: 10px;
}

/* INFO BOXES */

.info-box {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #fafafa;

    border: 1px solid #eee;

    padding: 14px;

    border-radius: 10px;

    margin-bottom: 10px;
}

.info-box span {

    color: #666;
}

/* DISTRIBUCIÓN */

#distribution-container {

    margin-top: 25px;
}

#distribution-list {

    list-style: none;

    padding: 0;

    margin: 0;
}

#distribution-list li {

    display: flex;

    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid #eee;
}

/* RESPONSIVE */

@media(max-width: 900px) {

    #app {

        flex-direction: column;
    }

    #sidebar {

        width: 100%;

        height: auto;
    }

    #map {

        height: 60vh;
    }
}