body {
    background-color: #fff;
}

main {
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.custom-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.name-btn-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    background-color: #002FD8;
    padding: 12px 14px;
    width: 60%;
    max-width: 230px;
    border-radius: 50px;
    margin: 20px 0;
}

.play-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.search-container {
    width: 70%;
    max-width: 150px;
}

#search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#search-btn:hover {
    background-color: rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}

#search-btn:active {
    background-color: rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
}

#user-input {
    height: 30px;
    width: 100%;
    border: none;
    background: none;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    margin: 5px 0;
}

#user-input:focus {
    outline: none;
    background-color: rgba(0, 0, 0, 0.1);
}

::placeholder {
    height: 30px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    text-align: left;
    margin: 5px 0;
}

.input-line {
    height: 0;
    width: 100%;
    border-bottom: solid 1px #fff;
}

.content-text {
    width: calc(100% - 2.5rem);;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.content-text p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.content-text p > strong {
    font-weight: 800;
    color:#002FD8
}

.chart-container {
    margin: 50px 0;
}

.bio-container {
    display: flex;
    flex-direction: row;
    width: calc(100% - 2.5rem);
    max-width: 580px;
    align-items: flex-start;
    justify-content: center;
    align-self: center;
    margin: 50px 0;
    gap: 50px;
}

@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
    }
}

.bio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .bio {
        align-items: center;
    }
}

.bio p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 200;
    margin: 20px 0 0; 
}

.bio p > strong {
    text-align: center;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color:#002FD8
}

.bio img {
    width: 110px;
    height: 110px;
    border-radius: 130px;
    object-fit: cover;
}

.alert {
    background-color: #CED6F7;
    color: #002FD8;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alert p {
    text-align: center;
    width: 70%;
}

.hidden {
    display: none !important;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 5px solid #999999;
    border-top-color: #002FD8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === Leaflet Map === */
/* Corrige tooltips e z-index */
.leaflet-container {
	background: #fff !important;
	outline-offset: 1px;
}

#map-chart {
    background-color: #fff !important;
}