.section-content.dcaanalysis {
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.btc-analysis h2,
.btc-analysis h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
}

.btc-analysis h2 {
    font-size: 24px;
    margin: 8px 0 12px;
}

.btc-analysis h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.btc-analysis h2 .attribut-label,
.btc-analysis h3 .attribut-label {
    color: inherit;
    font: inherit;
    line-height: inherit;
}

/*----------------------
table analysis
*/

.btc-analysis {
    position: relative;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.5;
}

.btc-analysis::after {
    content: "";
    display: block;
    height: 24px;
}

.btc-analysis .btc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 15px 0;
}

.btc-analysis .btc-grid>div,
.btc-analysis .btc-section,
.btc-analysis .btc-verdict {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    padding: 10px;
    background: var(--card-bg, #fff);
}

.btc-analysis .badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.btc-analysis .moderate-buy {
    background: #e8f5e9;
    color: #2e7d32;
}

.btc-analysis .bullish,
.btc-analysis .positive h3 {
    color: #2e7d32;
}

.btc-analysis .bearish,
.btc-analysis .danger h3 {
    color: #c62828;
}

.btc-analysis .neutral {
    color: #f57c00;
}

.btc-analysis .negative {
    color: #c62828;
}

.btc-analysis .btc-section {
    margin-top: 12px;
}


.btc-analysis,
.btc-analysis * {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.btc-analysis-refresh {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 14px;
}

.btc-analysis-refresh.loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

.btc-analysis-refresh.loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px) {
    .section-content.dcaanalysis {
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    .btc-analysis::after {
        height: 48px;
    }

    .btc-analysis h2 {
        font-size: 20px;
    }

    .btc-analysis h3 {
        font-size: 16px;
    }

    .btc-analysis .btc-grid {
        grid-template-columns: 1fr;
    }

    .btc-analysis .btc-grid>div,
    .btc-analysis .btc-section,
    .btc-analysis .btc-verdict {
        padding: 8px;
    }
}