/* --- Estilos Página Gráficos --- */

.chart-container {
    position: relative;
    height: 500px;
    width: 100%;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.chart-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Cards --- */

.custom-card {
    background-color: white;
    border-radius: 0.75rem;
    /* Sombra original forte */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
    /* Garante altura igual no grid */
}

.custom-card:hover {
    transform: translateY(-5px);
    /* Sombra mais forte no hover */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* --- Botão Colab --- */

.button-colab {
    background-color: #152887;
    color: white;
    padding: 14px 28px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.button-colab:hover {
    transform: translateY(-3px);
    background-color: #0056b3;
    text-decoration: none;
    color: white;
}

.button-colab span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding-right 0.3s;
}

.button-colab span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    right: -20px;
    transition: opacity 0.3s, right 0.3s;
}

.button-colab:hover span {
    padding-right: 10px;
}

.button-colab:hover span:after {
    opacity: 1;
    right: -10px;
}

.button-colab img {
    width: 28px;
    height: 24px;
    object-fit: contain;
}