@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: flex;
    background-color: #222;
    color: #00b2A9;
}

#sidebar {
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    background-color: #252323;
    color: #00b2A9;
    height: 100vh;
    overflow-y: auto;
    border-right: 2px solid #444;
}

#sidebar h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00b2A9;
}

#search-input {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    margin-bottom: 40px;
    font-size: 1rem;
    font-weight: 400;
    background-color: #b0c4b1;
    color: #00b2A9;
}

input::placeholder {
    color: #4a5759;
    font-weight: 500;
}

#search-input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.7);
}

#stats {
    margin-bottom: 20px;
}

#stats p {
    margin: 5px 0;
    color: #D0F1E9;
}

#stats span {
    font-weight: 700;
    font-size: 30px;
    color: #00b2A9;
}

#sidebar h2 {
    font-size: 25px;
    font-weight: 700;
    margin-top: 50px;
    color: #00b2A9;
}

#recent-violations {
    margin-top: 10px;
    list-style-type: none;
    padding: 0;
}

#recent-violations li {
    background: #403d39;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    color: #b0c4b1;
    font-weight: 600;
}

#recent-violations li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#recent-violations li strong {
    font-weight: 600;
    color: #e63946;
}

#map {
    cursor: cell;
    flex: 1;
    height: 100vh;
    position: relative;
}

.breakdown {
  font-size: 22px;
  font-weight: 600;
  color: #FAFAFA;
}

.popup {
    max-width: 300px;
    font-size: 0.9rem;
}

.popup strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #007bff;
}

.circle-marker {
    stroke: #ffffff;
    stroke-width: 2;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
}
