.octo-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.octo-widget[data-status="loading"] {
    opacity: 0.75;
}

.octo-widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.octo-widget-rate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--terminal-accent, #0ea5e9);
}

.octo-widget-updated {
    font-size: 0.85rem;
    color: var(--muted-text, #64748b);
}

.octo-widget-refresh {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: transparent;
    color: var(--terminal-accent, #0ea5e9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.octo-widget-refresh:hover:not([disabled]) {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.octo-widget-refresh[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.octo-widget-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--terminal-text, #1e293b);
}

.octo-forex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.octo-forex-label {
    color: var(--muted-text, #64748b);
    font-size: 0.95rem;
}

.octo-forex-value {
    font-weight: 600;
    color: var(--terminal-text, #1e293b);
    font-size: 1.05rem;
}

.octo-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
}

.octo-bullet {
    color: var(--terminal-text, #1e293b);
    font-size: 0.95rem;
    line-height: 1.4;
}

.octo-widget-error {
    display: none;
    font-size: 0.85rem;
    color: #ef4444;
}

.octo-widget[data-status="error"] {
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.octo-widget[data-status="error"] .octo-widget-error {
    display: block;
}

.octo-widget[data-status="error"] .octo-widget-body {
    color: #ef4444;
}

@media (max-width: 768px) {
    .octo-widget-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .octo-widget-rate {
        font-size: 1.75rem;
    }

    .octo-widget-refresh {
        width: 36px;
        height: 36px;
    }
}

