.financial-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.financial-filters select {
    min-width: 220px;
    padding: 13px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
}

/*.financial-filters .optimo-btn {*/
/*    height: 44px;*/
/*    padding: 10px 18px;*/
/*    white-space: nowrap;*/
/*}*/

.financial-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.financial-summary-grid .optimo-card {
    transition: 0.2s ease;
}

.financial-summary-grid .optimo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.financial-summary-grid .optimo-card:nth-child(1) {
    border-left: 5px solid #00609f;
}

.financial-summary-grid .optimo-card:nth-child(2) {
    border-left: 5px solid #f59e0b;
}

.financial-summary-grid .optimo-card:nth-child(3) {
    border-left: 5px solid #00bf63;
}

.financial-summary-grid .optimo-card:nth-child(4) {
    border-left: 5px solid #dc2626;
}

.financial-summary-grid .optimo-card:nth-child(5) {
    border-left: 5px solid #64748b;
}

.financial-summary-grid .optimo-card.profit {
    border-left: 5px solid #16a34a;
}

.financial-summary-page .optimo-table th {
    width: 40%;
    background: #f8fbff;
    font-weight: 800;
}

.financial-summary-page .optimo-table td {
    font-weight: 700;
}

.financial-summary-page .optimo-table tr:last-child th,
.financial-summary-page .optimo-table tr:last-child td {
    font-size: 18px;
}

@media (max-width: 1100px) {
    .financial-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .financial-summary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .financial-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .financial-filters select,
    .financial-filters .optimo-btn {
        width: 100%;
    }

    .financial-summary-page .optimo-table th,
    .financial-summary-page .optimo-table td {
        display: block;
        width: 100%;
    }

    .financial-summary-page .optimo-table tr {
        display: block;
        margin-bottom: 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .financial-summary-page .optimo-table th {
        border-bottom: none;
        padding-bottom: 6px;
    }

    .financial-summary-page .optimo-table td {
        padding-top: 0;
    }
}
/*.financial-filters .optimo-btn.secondary {*/
/*    height: 44px;*/
/*    padding: 10px 18px;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    white-space: nowrap;*/
/*}*/

/*@media (max-width: 700px) {*/

/*    .financial-filters .optimo-btn.secondary {*/
/*        width: 100%;*/
/*    }*/
/*}*/

.financial-filters .optimo-btn,
.financial-filters .optimo-btn.secondary {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

@media (max-width: 700px) {
    .financial-filters .optimo-btn,
    .financial-filters .optimo-btn.secondary {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
    }
}