/* =============================================
   Client Overview Widget — Frontend Styles
   ============================================= */

.co-overview-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

/* ── Row ─────────────────────────────────────── */
.co-overview-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

.co-overview-row.has-divider {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* ── Value position: right (default) ─────────── */
.co-value-right .co-text-wrap {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.co-value-right .co-label {
    flex-shrink: 0;
}

.co-value-right .co-value {
    text-align: right;
}

/* ── Value position: below ───────────────────── */
.co-value-bottom .co-text-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.co-value-bottom .co-value {
    text-align: left;
}

/* ── Icon Wrap ───────────────────────────────── */
.co-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1a1a1a;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.co-icon-no-box {
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
}

.co-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.co-icon-inner i {
    font-size: 18px;
    color: #ffffff;
    transition: color 0.2s ease;
}

.co-icon-inner svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: fill 0.2s ease;
}

/* ── Text ────────────────────────────────────── */
.co-label {
    color: #ffffff;
    font-weight: 500;
    line-height: 1.3;
}

.co-value {
    color: #ffffff;
    font-weight: 400;
    line-height: 1.3;
}

.co-value a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.co-value a:hover {
    opacity: 0.75;
}
