.crm-type-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.crm-type-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.crm-type-disabled {
    opacity: 0.5;
}

.crm-type-icon {
    font-size: 28px;
    color: #6c757d;
    margin-bottom: 12px;
}

.crm-type-card h5 {
    margin-bottom: 4px;
    font-weight: 600;
}

.integration-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
}

.integration-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.integration-card h6 {
    font-weight: 600;
}

/* ===== API Tokens ===== */

#api-tokens-table code {
    font-size: 0.85rem;
    color: #555;
}

.btn-copy-token {
    cursor: pointer;
    color: #999;
    margin-left: 6px;
    font-size: 0.85rem;
}

.btn-copy-token:hover {
    color: #333;
}

.char-counter {
    font-size: 0.75rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.char-counter-warning {
    color: #e67e22;
}

.char-counter-danger {
    color: #dc3545;
    font-weight: 600;
}

.api-token-create-link:hover {
    color: #dc3545 !important;
}

/* ===== API Docs ===== */

.api-docs-nav {
    position: sticky;
    top: 70px;
}

.api-docs-section[id] {
    scroll-margin-top: 70px;
}

.api-docs-nav .nav-link {
    color: #555;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    border-radius: 0;
}

.api-docs-nav .nav-link:hover {
    color: #dc3545;
    border-left-color: #dc3545;
    background: none;
}

.api-docs-nav .nav-link .badge {
    font-size: 0.65rem;
    vertical-align: middle;
}

.api-docs-code-wrap {
    position: relative;
}

.api-docs-code-wrap .btn-copy-code {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 4px;
}

.api-docs-code-wrap .btn-copy-code:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.api-docs-code {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    overflow-x: auto;
}

.api-docs-section h5 {
    font-weight: 600;
}

.api-docs-section h6 {
    font-weight: 600;
    color: #555;
}
