/* ───────────────────────────────────────────────
   Click-to-Call Button & Icon
   ─────────────────────────────────────────────── */

.ctc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-left: 6px;
    border: none;
    border-radius: 50%;
    background: var(--color-success, #22c55e);
    color: #fff;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    line-height: 1;
    flex-shrink: 0;
}

.ctc-btn:hover {
    background: var(--color-success-hover, #16a34a);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.ctc-btn:active {
    transform: scale(0.95);
}

.ctc-btn:focus-visible {
    outline: 2px solid var(--color-primary, #3b82f6);
    outline-offset: 2px;
}

.ctc-icon-svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

/* Ensure icon does not break layout in table cells */
td .ctc-btn,
.sidebar-section .ctc-btn {
    margin-left: 4px;
}

/* Smaller variant for compact views */
.ctc-btn--sm {
    width: 20px;
    height: 20px;
}

.ctc-btn--sm .ctc-icon-svg {
    width: 12px;
    height: 12px;
}
